Variable modifiers allow the on-the-fly modification of variables while parsing a Template. They can be applied to variables or functions. Smarty comes with a bunch of helpful modifiers
We added the following custom modifiers which will help you working with Templates:


This modifier nests a list of Pages (see PageMgr->getList) which is also available in Templates through the variable $tree. A nested array of Pages can be parsed more easily when rendering large trees (see example).
  1. {assign var='ntree' value=$tree|@nest_tree}