MH
unread,Feb 2, 2012, 10:43:10 PM2/2/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Smarty Developers
I noticed there was mention of this in the release thread, but no
resolution that I could see, and someone asked to split these into a
separate thread, so...
I have a family of templates, and normally they have block like this:
{block name="geoblock"}{include file="utils/geoblock.tpl"}{/block}
which produces this in the resultant file:
<?php /* Call merged included template "utils/geoblock.tpl" */
$_tpl_stack[] = $_smarty_tpl;
$_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("utils/
geoblock.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null,
null, array(), 0, '12915391414f2b525dd27725-46739266');
content_4f2b525e6bc1a($_smarty_tpl);
$_smarty_tpl = array_pop($_tpl_stack); /* End of included template
"utils/geoblock.tpl" */?>
In Smarty 3.1.6, that function is defined later in the compiled
template and it works fine. However, in Smarty 3.1.7, the
corresponding function is never defined, and an error occurs.
Clearing the smarty cache does not help.