Ioannis Kanellopoulos wrote:
Hello,
We have been evaluating jetspeed 2 for the last couple of months for the
creation of a portal on geographic information, which will include
catalog and mapping services.
We have successfully downloaded and installed jetspeed2-M3 and built the
latest jetspeed2-M4 from source.
platforms include Linux Red Hat ES 4, Mac OSX and WinXP.
We require to have the top level navigation menu (root folders) visible
at all times, instead of having a link through "back to root folder" or
to "root" depending on the decoration use for the layout. Is this
possible? and if yes can you please indicate how we can do this?
With M4, put a root level menu definition in your root folder.metadata:
<menu name="root-level-menu" regexp="true" options="/*.psml,/*/"/>
Here is another example, a current working directory menu:
<menu name="cwd-level-menu">
<options regexp="true">./*/,./*.psml</options>
<exclude>root-level-menu</exclude>
</menu>
And then in your page layout, reference the menu:
#set($rootMenu = $site.getMenu("root-level-menu"))
#if(!$rootMenu.empty)
#includeTabsNavigation($rootMenu $LEFT_TO_RIGHT)
#end
<!-- CWD Tabs Menu -->
#set($cwdMenu = $site.getMenu("cwd-level-menu"))
#if(!$cwdMenu.empty)
#includeTabsNavigation($cwdMenu $LEFT_TO_RIGHT)
#end
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]