News:

Help keep this project going by donating or buying adseller pro

Main Menu
Coinbase

Ads in Delta templated

Started by jbraum, January 01, 2007, 08:36:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jbraum

Trying to get the ads to show in different location besides the top of the page.  I've managed get it to work at the top but that's it.  Here what I've done so far.

Did the following and was able to insert the code in Display.template.php and index.template.php with no problem.  Get a parsing error when I entered in modification.english.php so I remove it.  The banner shows but only on the top of the site (not what I was looking for).  It works in all location when using the default theme.

What I'll looking for is to rotate multiple banners including adsense in a block.  I have adsense working in a block but can't find a way to rotate banners with it.

Code I inserted
//Display ads on the top of the page
$ads = show_topofpageAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);