Opened 7 years ago

Closed 7 years ago

#2283 closed task (blessed) (fixed)

Keep "Handbook" highlighted in navigation when on handbook pages

Reported by: samuelsidler's profile samuelsidler Owned by: coffee2code's profile coffee2code
Milestone: Priority: low
Component: Handbooks Keywords:


Right now, when you go to /handbook/ on a make site, the handbook item is highlighted ("active") in the subnav. But, if you go to /handbook/something/, it's no longer highlighted. We should keep it highlighted ("active") regardless of where you are in the handbook.

Change History (3)

#1 @samuelsidler
7 years ago

I think @coffee2code was looking at this.

#2 @coffee2code
7 years ago

  • Owner set to coffee2code
  • Status changed from new to accepted

#3 @coffee2code
7 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 4788:

Handbook plugin: Highlights a menu link to the handbook home page when on any constituent handbook page.

Assuming the handbook page isn't already directly linked in the menu, preference is given to highlight a link to the front page of the current handbook. Barring the presence of such a link, it will check to see if there is a link to a 'handbook' or 'handbooks' page, which could be the case for multi-handbook sites.

Fixes #2283.

Note: See TracTickets for help on using tickets.