Dolphin 7 adsense not working
Dolphin 7 adsense block is not working..
While adding the adsense code in the dolphin tinymce editor the google adsense code gets rewritten .
The result is that the adsense will not show.
To resolve this I tried hacking the database directly but still te code changed.
After changing the following the problem got solved.
Try this. Untested but should put the html block back to the way it was.
Edit inc\classes\BxDolPageViewAdmin.php
Look for this at about line 473
if( $aItem['Func'] == ‘Echo’ ) {
$aForm['inputs']['Content'] = array(
‘type’ => ‘textarea’,
‘html’ => false,
‘attrs’ => array (’id’ => ‘form_input_html’.$iBlockID),
‘name’ => ‘Content’,
‘value’ => $sBlockContent,
‘caption’ => $sHtmlContentC,
‘required’ => true,
‘colspan’ => true,
);
Change to this.
if( $aItem['Func'] == ‘Echo’ ) {
$aForm['inputs']['Content'] = array(
‘type’ => ‘textarea’,
‘html’ => false,
//’attrs’ => array (’id’ => ‘form_input_html’.$iBlockID),
‘name’ => ‘Content’,
‘value’ => $sBlockContent,
‘caption’ => $sHtmlContentC,
‘required’ => true,
‘colspan’ => false,
);
The original post can be found here :
http://www.boonex.com/unity/forums/#topic/Page-Builder-Big-Bug.htm