the new template :
HTML Code:
<div class="block smaller">
<div class="blocksubhead">
Meilleur photo
</div>
<div class="widget_content blockbody floatcontainer">
<div class="blockrow" align="center">
<A HREF="ratemyphoto/photos/{vb:raw bestphotoname}"><img border="0" src="ratemyphoto/photos/thumbs/{vb:raw bestphotoname}"></A><br />
</div>
</div>
</div>
<div class="underblock"></div>
I have set "Template to Use" to block_html. and, set "Cache Time (in minutes)" to 0
--------------- Added [DATE]1357149292[/DATE] at [TIME]1357149292[/TIME] ---------------
Quote:
Originally Posted by Lynne
Replace this line:
PHP Code:
return $templater->render();
With these:
PHP Code:
$my_output = $templater->render(); return $my_output;
And Kevin is correct in that your html template is improper html. I have no idea what it will do to the page if you leave it like that.
|
PHP Code:
$my_output = $templater->render();
return $my_output;
I tested with and it does not work