Page 1 of 1

menu manager and excludeprefix param

Posted: Thu Feb 14, 2013 9:56 pm
by psy
I have created a main menu for a responsive site that requires a click on the top level to display the dropdown sub-pages list.

The top level item is an internal link to the first sub-page, eg:

services (top level)
- overview
- sub-page2
- sub-page3
etc.

In the content of the overview page I have a simple list of all sibling pages BUT I do not want the 'overview' page link to appear.

I have tried:

Code: Select all

{menu childrenof='services' excludeprefix='overview'}
and a few variations such as:

Code: Select all

{menu start_page='services' excludeprefix=$page_alias}
No matter what I do, the 'overview' page link appears except when I display the full menu, eg:

Code: Select all

{menu excludeprefix=$page_alias}
The help text says only to not use 'excludeprefix' in conjunction with 'includeprefix'.

As a workaround, I have used CSS to hide the 'overview' page link but it's not really what I was after and may cause other problems down the track.

Using CMSMS 1.11.4

What am I doing wrong or is this an undocumented feature?

Re: menu manager and excludeprefix param

Posted: Thu Feb 14, 2013 11:56 pm
by Dr.CSS
Look in the Menu manager Help for loadprops=, not sure how it's spelled...

Re: menu manager and excludeprefix param

Posted: Fri Feb 15, 2013 12:43 am
by psy
Thanks Dr CSS, setting loadprops=0 is a good option to reduce the load however has no effect on excluding the 'overview' page.

Re: menu manager and excludeprefix param

Posted: Fri Feb 15, 2013 3:32 pm
by Dr.CSS
No but loadprops='1' may actually load properties of menu manager like excludeprefix...

(optional) loadprops="0" - Use this parameter when NOT using advanced properties in your menu manager template. This parameter will disable the loading of all content properties for each node (such as extra1, image, thumbnail, etc). This will dramatically decrease the number of queries required to build a menu, and increase memory requirements, but will remove the possibility for much more advanced menus

Re: menu manager and excludeprefix param

Posted: Wed Jun 19, 2013 10:31 pm
by 5k313t0r
Hey guys, did you ever manage to solve this issue?

I am having the same issue in CMSMS 1.11.7, Menu Manager 1.8.5. I have tried both loadprops=0 and loadprops=1 but with no luck.