Forums / Setup & design / Auto-hiding menus

Auto-hiding menus

Author Message

Antoine Schmid

Monday 27 February 2006 7:35:48 am

Hi,

When a folder is assigned to a reserved section, the corresponding menu doesn't shows up for users who don't have the proper privileges to access it.

In that case how to do we interest them in registering if they don't see some content they can't access ?

Well, all this to know if someone can tell me how to display menus for areas users can get in. I don't know where the restriction is done. I've look at the fetch function in the menu template, but for me, it sould work:

{let docs=treemenu( $module_result.path,
                    is_set( $module_result.node_id )|choose( 2, $module_result.node_id ),
                    ezini( 'MenuContentSettings', 'LeftIdentifierList', 'menu.ini' ),
                    0, 3 )
                    depth=1
                    last_level=0
                    is_selected_method='tree'}

Thank you !

A.