I have a reverse menu template which has these lines
Code: Select all
{* foreach from=$nodelist item=node *}
{foreach from=$nodelist|@reverse_array item=node}
This came from a post by Nullig many moons ago.
Code: Select all
http://forum.cmsmadesimple.org/viewtopic.php?t=22370
Code: Select all
Syntax error in template "module_db_tpl:MenuManager;simple_reverse" on line 12 "{foreach from=$nodelist|@reverse_array item=node}" unknown modifier "reverse_array"
The file is definitely in the same place, so I am guessing there is some smarty 3 issue happening here. How should I reference the reverse_array modifier?
(If I use the original template all is fine, but of course my reverse menus don't happen.)