[opencms-dev] Strange navigation behaviour in 5.0 rc2 [Repost]

Ingrid Morterud Rosvall moring at nith.no
Thu Mar 6 07:54:20 CET 2003


Hi!

We have with interest waited for a reply on this, as we has encountered the 
same strange behavior.

We to hope someone will take time to answer this one.

Best regards
-- 
Ingrid Morterud Rosvall



Quoting Ulrich Rueth <ulrich.rueth at gmx.de>:

> Hi!
> I repost this, as my last post could not have been answered by anyone. Maybe
> this time...
> After an upgrade from 4.6.1 to 5.0 rc2, the navigation in my website (which 
> was working perfectly before) is somehow strange. I use the standard method
> 
> <method name="getNavFold">2</method>
> 
> with the "2" indicating that the base directory for my navigation should be 
> the second level.
> 
> My directory structure is the following (snippet, the "dir" indicates a new 
> directory, the "file" a file):
> 
> dir: privat				<-- set as base directory
> 	file: index.html		<-- included in navigation: "Home"
> 	file: kontakt.html		<-- included in navigation: "Kontakt"
> 	dir: foto				<-- included in 
navigation: "Foto"
> 		file: index.html	<-- NOT included
> 	dir: hochzeit			<-- included in navigation: "Hochzeit"
> 		file: index.html	<-- NOT included
> 	dir: urlaub			<-- included in navigation: "Urlaub"
> 		file: index.html	<-- NOT included
> 
> The navigation should thus on all pages look like this (and did up to now):
> 
> Home
> Kontakt
> Foto
> Hochzeit
> Urlaub
> 
> For all files and directories, resp. on all index pages of the directories, 
> the navigation is displayed correctly, EXCEPT on the "Home" page, i.e. the 
> index page of the defined root directory. There, instead, the navigation 
> looks like this:
> 
> Welcome to OpenCms
> Release Notes
> 
> Those two entries disappear if I remove the navigation properties from the 
> OpenCms release notes directory and the index.jsp, which both are included
> by 
> default in the installation. Then the navigation of the "Home" page is
> empty.
> 
> I think that this behaviour is very strange, as I have defined the
> navigation 
> to start at the second level, not at the OpenCms root directory. Why is then
> 
> on my "Home" page the navigation of this root directory displayed (and not
> on 
> all the other pages)???
> 
> Thank you for your help!
> Regards,
> Ulrich
> 
> -- 
> +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
> 
> 



More information about the opencms-dev mailing list