Forum Moderators: coopster

Message Too Old, No Replies

Changing placement of AdSense via PHP

Help with includes

         

hdpt00

1:26 am on Nov 27, 2004 (gmt 0)



I currently have a custom built CMS nand a template system where I have AdSense on the right hand side of articles and at the bottom of them. I want to try puttin them in the article or something of that sort like cnn.com does.

The problem is if I wanted to change this around via a PHP include like I have now for AdSense, I would have to add it in each page's configuration since it isn't "general" side or bottom.

Is there another way I can do this via PHP or CSS so it isnerts it inline with the first paragraph, much like CNN?

Thanks!

hdpt00

11:07 pm on Nov 27, 2004 (gmt 0)



No help whatsoever?

coopster

2:10 pm on Nov 29, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



If you are building this dynamically, you simply move the include() function to insert the code where you would like in your markup (HTML).