[opencms-dev] Divide the navigation tree in two parts for separate use

Manfred Pruntsch manfred.pruntsch at ifcos.com
Mon Mar 4 00:48:39 CET 2002


I want to realize a main navigation bar (main categories, left side on the
page) and and a separate help navigation bar (sitemap, help, contact a.s.o,
on the upper right corner).

First I've created the main navigation with the 'getNavRoot' method (Ok, it
works).
After that I've created a folder named 'helpnav' under the root without
adding to the navigation. All help files I put here – with navigation
properties. Next I will display the help navigation with a method which can
display the navigation of an specified folder given by a parameter such as:
<method "getNavSpecifiedFolder">/helpnav/</method>
and without adding to the current navigation.
Is there an existing method or have I to extend a java class and write the
method by myself?
In the latter case:
Do I have to make a getFiles method like the getFolders method in the
example 21 dev-doc? For example, calling with: String filelist =
getFiles(cms,template,'/helpnav/');

Or exist an another (more better) way?

with kindly regards
Manfred


________________________________________________________
Ifcos - Institut für Zell- und Organsimulation GmbH
E-Mail:     manfred.pruntsch at ifcos.com




More information about the opencms-dev mailing list