In CMSMS 2.2.15 I was able to use :
Code: Select all
{$children=cgsimple::get_children()}
{if count($children) > 0}
Code: Select all
{$children=cgsimple::get_children()}
{if $children|count > 0}
I had to change it to
Code: Select all
{$children=cgsimple::get_children()}
{if cgsimple::has_children()}
Is this a know change or was my initial syntax wrong ?