figure this out?

Sorry for title but it is best way to try and explain.

I have google ads on my site they work great in my article pages but in profiles it is a diffrent story.


I used the html block to install ads but it seem to strip parts out so reading forum i seen complaints about this so i decided to use deanos tools for the php block to insert ads so this is where i cant figure it out.

when i use php block ( deanos tools) to insert ads i get a no connection where ad should be! see screen shot no ads showing, but when i put my html block above the php block with the google script in it, now the php block shows ads not the html block see screen shot  ads showing

Now if i try html its self i get nothing or the php block i just get the ie error where ad should be

It seems like it pulling info from the html block into the php to show ads i know that sounds weird  any help would reall be appreciated.

 

Thx

Ian

no ads showing.jpg · 20.4K · 89 views
ads showing.jpg · 19.8K · 73 views
Quote · 13 Jan 2011

Anybody any ideas?

 

Ian

Quote · 16 Jan 2011

How are you using the php block? I mean what are you using for code?

php blocks are designed for php. So to use html in a php block you need to place it in a variable and echo it out. It has to be written in php.

Try this.

$sCode = '

Put your google code here.

';
echo $sCode;

https://www.deanbassett.com
Quote · 16 Jan 2011

Hi deano

thx for quick reply, I am using your php block with the php  code as you say  just now but as you see with the no ads showing jpg it doesnt work

But if i put my html block with html and google java script above it then the php shows ads as seen in the ads showing jpg

but again if i remove the php block the html doesnt show ads either ? its like they are depending on each other to show ads its just  weird?

Thx again for any help

Ian

Quote · 16 Jan 2011

ok got my problem fixed now thanks to this post here http://www.boonex.com/unity/forums/#topic/Page-Builder-Big-Bug.htm

deanos code there works on 7.0.3  as this is what i am using, except the line number is now 500 and 509 that need to be edited

now google adsense works in my html blocks  :)

Quote · 27 Jan 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.