[MGNLSTK-266] Global Navigation: Please do not start counting with "0" Created: 26/Jan/09  Updated: 23/Jan/13  Resolved: 21/Feb/09

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Major
Reporter: Timo Wirth Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLSTK-296 Navigation: the ids should not change... Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Please do not start counting with "0"

now
*****
<li id="nav-sec-0" >

better
*******
<li id="nav-sec-1" >



 Comments   
Comment by Timo Wirth [ 26/Jan/09 ]

... and please eleminate the space before the closing tag ">"

Comment by Magnolia International [ 26/Jan/09 ]

Partially solved:

  • removed unnecessary spaces in horizontalNavigation.ftl and verticalNavigation.ftl
  • the counting will start at 1 (MAGNOLIA-2421)

There's still the problem that pages hidden in the navigation will be "counted", so the id might skip from nav-sec-1 to nav-sec-4 for instance.

Generated at Mon Feb 12 07:25:21 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.