Page 1 of 1

Bug in breadcrumbs?

Posted: Wed Jul 26, 2006 10:21 am
by Nemesis666
I found out, that the breadcrumbs-navigation also shows pages, that are marked inactive. I was making a page with 2 different navigations, so I put two "sub-root" items into my page-tree to create the two navigation-trees. The 2 new "sub-roots" were put inactive, so that the path would be: Home -> Subroot 1 -> Page 1, for breadcrumb to show only: Home -> Page 1.

I changed the file function.breadcrumbs.php for my installation in the following way:
Inserted after line 103:

Code: Select all

103 $onecontent = &$node->getContent();
104 if ($onecontent->Active())
105 {
And the corresponding closing tag after line 131 (including 2 new lines)

Code: Select all

132 }
Is this a bug or behavior by design? Or am I missing the point?

Thanks in advance,
Nemesis

Re: Bug in breadcrumbs?

Posted: Thu Jul 27, 2006 9:18 am
by tsw
Seems like a bug to me, Ill file it and check that fix

Re: Bug in breadcrumbs?

Posted: Fri Jul 28, 2006 9:00 am
by Nemesis666
Thanks for the info. Hope it's fixed for the next 1.0 non-beta release :)

Really looking forward to this oneĀ  ;D