I have fight hard to get this banner rotating code to work between Load time and copyright info at footer of default theme in rc2. Is this hopeless to try? Please tell me someone because it start to look like wasting time? Code is here:
What i have got is much Parse Error, nothing moreĀ :-[
<!-- Bannerinvaihto.fi -bannerikoodi alkaa -->
<center>
<iframe src="http://www.bannerinvaihto.fi/ads/work.php?n=576&size=1&c=" width=468 height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling="no">
<script language="JavaScript">document.write('<s'+'cript language="JavaScript" src="http://www.bannerinvaihto.fi/ads/work.php?n=576&size=1&j=1&c=&code='+new Date().getTime()+'"></s'+'cript>');</script></iframe>
</center>
<!-- Bannerinvaihto.fi -bannerikoodi loppuu -->
find the code in index.template.php:
// Show the load time?
if ($context['show_load_time'])
and replace it with:
echo '
<!-- Bannerinvaihto.fi -bannerikoodi alkaa -->
<center>
<iframe src="http://www.bannerinvaihto.fi/ads/work.php?n=576&size=1&c=" width=468 height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling="no">
<script language="JavaScript">document.write(\'<s\'+\'cript language="JavaScript" src="http://www.bannerinvaihto.fi/ads/work.php?n=576&size=1&j=1&c=&code=\'+new Date().getTime()+\'"></s\'+\'cript>\');</script></iframe>
</center>
<!-- Bannerinvaihto.fi -bannerikoodi loppuu --> ';
// Show the load time?
if ($context['show_load_time'])
It really works :D
Really BIG THANKS, looks so easy after all :o
You are an angel my friend :D