[opencms-dev] getSiteNavigation doesn't

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Mon Apr 10 16:24:32 CEST 2006


On Mon, Apr 10, 2006 at 04:18:04PM +0200, DI Gunther Schmidl wrote:
> Christoph wrote:
> 
> > Have you tried another folder than "/"? Does "/" have an "add to
> navigation"
> > property?
> 
> I tried "/sites/foo". Turns out it needs to be "/sites/foo/", or it won't
> work.
> 
> Thanks for the pointer,

I had just the same problem today when I turned back to my sitemap treewalk.
On "/" getNavigation().getSiteNavigation(cmso,"/",-1) returned an empty
List.  Changing the "/" to "/de/" made it work.


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list