#
martijnb
Hi all
For a while I've been thinking for a way to have custom menu's that have links to sitemap, search, etc..
I've come up with the following:
There is going to be a Menu class that has is related to a root node (home page for a distinct culture). To that menu you can add any node in the site that has the same root node. The Node class will get a boolean flag to prohibit it from displaying in the hierarchical site navigation (if you want).
To display the menu you'll have to put a placeholder in the template where the menu is going to be. The output of the menu will be a simple ul list so you can give it any look you want with css. If there is no placeholder in the template, the menu won't be visible but nothing will break either.
Does this make sense? Or will it be too complex? The main benefit of this solution is that it doesn't require any changes in the way pages are rendered now.
For a while I've been thinking for a way to have custom menu's that have links to sitemap, search, etc..
I've come up with the following:
There is going to be a Menu class that has is related to a root node (home page for a distinct culture). To that menu you can add any node in the site that has the same root node. The Node class will get a boolean flag to prohibit it from displaying in the hierarchical site navigation (if you want).
To display the menu you'll have to put a placeholder in the template where the menu is going to be. The output of the menu will be a simple ul list so you can give it any look you want with css. If there is no placeholder in the template, the menu won't be visible but nothing will break either.
Does this make sense? Or will it be too complex? The main benefit of this solution is that it doesn't require any changes in the way pages are rendered now.