ongeremd.com

Blog over het Fine tunen van website, webshops en Content management systemen

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

Bekijk ook

Info

Datum
July 5th, 2010

Gepost door

Categorie


1 Trackbacks & Pingbacks

  1. July 6, 2010 2:52 pm

    tips & tricks: How did google block an invalid clicks adsense account? :

0 Comments

Leave a Reply