Hello!
I had errors with ads breaking the page in the index.template in the top and bottom of page positions.
Played around with the code and I think this works below.
One question though, I can't get the ads to center?? Any help would be appreciated!
Was causing errors the Ad Mod code was placed after:
', theme_copyright();
and I think it should be as below...
Find in index.template.php:
<td class="footer">
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
Add to the end of above line:
';
if (function_exists("show_towerrightAds") && function_exists("show_towerleftAds") && function_exists("show_bottomAds"))
{
$ads = show_towerrightAds();
if(!empty($ads))
echo '</td><td valign="top">', $ads['type']==0 ? $ads['content'] : eval($ads['content']) ,'</td></tr></table>';
unset($ads);
//Close table for towerleft ads
$ads = show_towerleftAds();
if(!empty($ads))
echo '</td></tr></table>';
unset($ads);
//Show ads on the bottom of the page
$ads = show_bottomAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
echo '