MenuManager : childrenof include - excludeprefix
Posted: Thu Apr 07, 2011 11:46 am
Hello,
I'm building a 1.9.4.1 CMSMS with MleCMS module and a 5 menu navigation. Mod_rewrite is on with hierarchy. Menu calls in template look like this :
The point is that MenuManager lists every site'pages in each menu, wether pages have menu1to5 in prefix or not... Without loadrprops="0" it is the same, without childrenof too. Then I must have something wrong because of... what ? Any idea ?
I'm building a 1.9.4.1 CMSMS with MleCMS module and a 5 menu navigation. Mod_rewrite is on with hierarchy. Menu calls in template look like this :
Code: Select all
{menu loadprops="0" template="simple_nav" collapse="1" excludeprefix="menu2,menu3,menu4,menu5" childrenof="$lang_parent" lang="$lang_locale"}
...
{menu loadprops="0" template="simple_nav" collapse="1" includeprefix="menu2" childrenof="$lang_parent" lang="$lang_locale"}
...
{menu loadprops="0" template="simple_nav" collapse="1" includeprefix="menu3" childrenof="$lang_parent" lang="$lang_locale"}
...
{menu loadprops="0" template="simple_nav" collapse="1" includeprefix="menu4" childrenof="$lang_parent" lang="$lang_locale"}
...
{menu loadprops="0" template="simple_nav" collapse="1" includeprefix="menu5" childrenof="$lang_parent" lang="$lang_locale"}