<CMS_HEADER>
<CMS_FUNCTION name="define" resultname="navigationRoot">
<CMS_CDATA_PARAM name="source">
<![CDATA[pagefolder:$CMS_IF(!#global.getContext().getVariableValue("pt_g_navigation_"+area+"_root").isEmpty)$$CMS_VALUE(#global.getContext().getVariableValue("pt_g_navigation_"+area+"_root"))$$CMS_ELSE$root$CMS_END_IF$]]>
</CMS_CDATA_PARAM>
</CMS_FUNCTION>
<CMS_FUNCTION name="Navigation" resultname="ft_navigation">
<CMS_PARAM name="expansionVisibility" value="all"/>
<CMS_PARAM name="wholePathSelected" value="1"/>
<CMS_VALUE_PARAM name="root" value="navigationRoot.toString()" />
<CMS_ARRAY_PARAM name="innerBeginHTML">
...
</CMS_HEADER>
>>$CMS_VALUE(navigationRoot)$<<
...
$CMS_VALUE(ft_navigation)$