[#10018] The same image code outputs for detail but not summary template
History
Comments
Date: 2014-08-17 11:57
Posted By: Metamorphose (metamorphose)
Hi
I think my problem is the same. I've created addional fileds for images. The
follow code has worked with an older version
{if $entry->Blog_Bild}
{CGSmartImage
src="{$entry->file_location|replace:{root_url}:''}/{$entry->'Blog_Bild'}"
alias='blog_imagesmall'}
{/if}
With the new version the same code works in the detail template, but not in the
summary template. In the summary template no Image is displayed and the follow
PHP notice is displayed
Notice: Undefined property: stdClass::$Blog_Bild in
\htdocs\\lib\smarty\libs\sysplugins\smarty_internal_templatebase.php(165) :
eval()'d code on line 88