[ http://jira.magnolia.info/browse/MAGNOLIA-1223?page=comments#action_12887 ] Philipp Bracher commented on MAGNOLIA-1223: -------------------------------------------
hide in nav means: this is not a menupoint at all (never) If you like to create the menu depending on permissions, please use permissions instead of hacking the hideInNav flag. Inheritance is already supported (if the parent is not a menupoint all subpages aren't neither) Perhpas we could refactor the tag so that you can pass a filter. This would make it realy dynamic. > SimpleNavigation and hideInNav > ------------------------------ > > Key: MAGNOLIA-1223 > URL: http://jira.magnolia.info/browse/MAGNOLIA-1223 > Project: Magnolia > Issue Type: Improvement > Components: taglibs > Affects Versions: 3.0 Final > Reporter: Luc Girardin > Assigned To: Fabrizio Giustina > Attachments: SimpleNavigationTag.patch > > > The current simpleNavigation tag ignores entries that have hideInNav flag set > to true. This is typically interesting for having pages that should be made > visible to a limited audience (i.e. only people who know the URL can access > it). However, if one goes to such a page (or sub-page), then the entry in the > navigation also remains hidden. The proposed improvements, modifies this > behavior by showing the hidden nodes in the navigation if they are parents of > the active node. Here is a example from our website: > http://www.macrofocus.com/public/products/cartorama/ > With the proposed modification, the Cartorama entry remains only visible when > it is part of the selected path. > The modified SimpleNavigationTag class can be found at: > http://www.macrofocus.com/tmp/magnolia/SimpleNavigationTag.java > Would be great if this behavior could be integrated into the next release of > Magnolia! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia.info/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
