I tried the guide here at the forum, but I get the following error:
Template Parse Error!
There was a problem loading the /Themes/Duruu/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
syntax error, unexpected '<'
Please do help.
Regards
Attach your index.template.php
I attached the original index.template.php because I'm sure the one I modified is a mess :P
Attach the one that is broken
Attached. Thanks!
Find:
//Display ads on the top of the page
if (function_exists("show_topofpageAds"))
{
$ads = show_topofpageAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
<div id="solkose">
Replace with:
//Display ads on the top of the page
if (function_exists("show_topofpageAds"))
{
$ads = show_topofpageAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
echo '
<div id="solkose">
Got it working! ;D
Now let me just test this. Thanks!