[opencms-dev] Can we generate the Bread Crumb in opencms

Paul Armstrong paul.armstrong at gadfly.com.au
Tue Oct 1 02:26:36 CEST 2002


Hi,

Has anyone recently implemented breadcrumbs in an OpenCMS installation ?

I've got it working, but so far only with two levels of nested navigation.

I'm trying to use getFolderParent to iterate up through the navigation tree
in order to build the breadcrumbs.

I've got "Level 1", "Level 2", "Level 3" nav.

When calling getFolderParent from a page within "Level 3" with either
'blank' or '0' as the argument I get the parent to be Level 3 which is
correct.

However when I call it with '1' as the argument I get "Level 1" not "Level
2" as I would expect. "Level 3" seems to think it's parent is "Level 1".

Has anyone come across this problem and found a solution ?

If not, has anyone implemented breadcrumbs in a way other than using
getFolderParent ?

Any help would be much appreciated.


Thanks,

Paul




More information about the opencms-dev mailing list