uploads: Template stops working after emptying cache
Posted: Sun Sep 30, 2012 9:15 pm
I have one template that stops working after I empty the cache. I have to open the template, save it without changes and then it works again. Only the variables in $entry stop working, the rest of the template is displayed fine.
Does anybody know what could be the problem? As far as I can see there's noting wrong with the template. I have other similar templates that don't have this problem.
I have this problem since I upgraded to 1.11 (.1 as well as .2)
it's called with:
Does anybody know what could be the problem? As far as I can see there's noting wrong with the template. I have other similar templates that don't have this problem.
I have this problem since I upgraded to 1.11 (.1 as well as .2)
Code: Select all
<!-- Start Upload Summary Template -->
{foreach from=$items item='entry' name='uploads'}
<div class="singlecol">
<br>
<a class="ceebox"
href="{CGSmartImage src=$entry->origfile_url filter_resize='h,500' notag=1 noembed=1 silent=1}"
title="{$entry->description} ({$entry->author})">
{CGSmartImage src=$entry->origfile_url filter_croptofit='280,100' noembed=1 silent=1}
</a>
<p>{$entry->description} <br>({user name=$entry->author})</p>
</div>
{/foreach}
<!-- End Upload Summary Template -->Code: Select all
{cms_module module="Uploads" category='fotoalbum' mode="summary" sortorder="random" count="3" template="ledenindex"}