Bug in breadcrumbs?

A place to discuss the testing process in beta cycles or against SVN for the CMS Made Simple CORE package.
Locked
Nemesis666

Bug in breadcrumbs?

Post 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
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Bug in breadcrumbs?

Post by tsw »

Seems like a bug to me, Ill file it and check that fix
Nemesis666

Re: Bug in breadcrumbs?

Post 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
Locked

Return to “[locked] Quality Assurance”