[MAGNOLIA-1437] <cmsu:breadcrumbs>: don't show delimeters for hidden pages. Created: 26/Mar/07  Updated: 14/Jul/08  Resolved: 22/Apr/07

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: 3.1 M1

Type: Improvement Priority: Major
Reporter: Maria Elena Assignee: Fabrizio Giustina
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

Breadcrubs should not add delimeter for pages that are hidden.
Right now, even if a page should not appear in the navigation, the delimeter is added .



 Comments   
Comment by Fabrizio Giustina [ 22/Apr/07 ]

You can use the "hideProperty" tag attribute in order to choose which pages should not show up in breadcrumbs, and the delimeter is correctly hidden as well.
Maybe you are blindly using "hideInNav" as the attribute name, without setting the hideProperty tag attribute?

Comment by Will Scheidegger [ 14/Jul/08 ]

Maria Elena is right: under some circumstances a delimiter for hidden pages is being displayed.

If you have a bread crumb consisting of 2 pages (Page a > Page b) and you hide page a (checking "hideInNav" and setting "hideInNav" as "hideProperty") the bread crumb will be displayed as the this:

> Page b

IMO it should be displayed like this:

Page b

I have not spent too much time testing all possible setups. In my case, I had a page hierarchy about 4 levels deep and I wanted to display the breadcrumb starting at level 3, except that in this special case the level 3 page was hidden. The bread crumb should never start or end with a delimiter. (I tested this on Mag 3.6 m3 by the way).

Generated at Mon Feb 12 03:26:55 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.