I tried using a example from the help page from cg simple smarty:
Code: Select all
{cgsimple::get_children('',0,'children')}
{if count(\$children)}
{foreach from=\$children item='child'}
{if \$child.show_in_menu}
Child: id = {\$child.id} alias = {\$child.alias}<br/>
{/if}
{/foreach}
{/if}
Code: Select all
Invalid code entered.
Parse error: syntax error, unexpected '}' in /hsphere/local/home/clublust/*******.dk/_work/julefest/admin/adduserplugin.php(100) : eval()'d code on line 1


