There are lots of good docs (including the API) at http://documentation.magnolia.info.
HTH, Sean On 8/6/07 9:26 AM, "Werner Noske" <[email protected]> wrote: > Hi, thank you for quick reply. > >> That's not too dificult. All you have to do is add a scriptlet which >> gets the current page, then get's all its children, then loops >> through the children to check if any of them should be displayed in >> the navigation (i.e. not hidden pages). > > That's the way I already thought it should go, but my main problem is: > Where do I find the documentation for Magnolia 3.0, how to get the menu > structure, current page, the children and so on? > > I looked into the forum and wiki for "navigation", but the only thing I found > was a page MenuHowTo with a remark, that this > will not work for 3.0. > >> That way you determin if you >> have a subnav to display -> From there on, all you have to do is set >> two variables accordingly (start level and end level of your >> navigation). >> >> Hope this gets you started. >> >> Will >> >> On 06.08.2007, at 11:45, Werner Noske wrote: >> >>> Hi, >>> >>> on http://www.1xeuropa.de we have a growing menu structure over >>> several menu levels. >>> >>> We always want to display exactly 2 menu levels. That means: >>> - In case under a page there are subpages, we want to display the >>> menu level the page is belonging to and the following level - In >>> case there is no following level, we want to display the menu >>> starting one level higher. >>> >>> Until now we defined a page variable for this, but always when I >>> insert a new level I have to update all values for the pages below >>> manually then. >>> >>> Can someone tell me how I can modify the template.jsp, so that it >>> can automatically calculate the necessary menu level from the >>> simpleNavigation structure? >>> >>> Thanks for help. >>> Werner >>> >>> ---------------------------------------------------------------- for >>> list details see >>> http://documentation.magnolia.info/docs/en/editor/stayupdated.html >>> ---------------------------------------------------------------- >> >> >> ---------------------------------------------------------------- >> for list details see >> http://documentation.magnolia.info/docs/en/editor/stayupdated.html >> ---------------------------------------------------------------- > > > Werner Noske ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
