add "active class to main nav items.

RESOLVED FIXED

Status

Websites Graveyard
www.drumbeat.org
RESOLVED FIXED
8 years ago
3 years ago

People

(Reporter: Ned Schwartz, Unassigned)

Tracking

Details

(URL)

Comment hidden (empty)
(Reporter)

Comment 1

8 years ago
Add a class of "active" to the <li> of the nav item of the current page:

<li class="active"><a href="...">projects</a></li>

This class should be applied for all children of the nav item (for example "projects" would be active on the prject landing page, project index, a specific project etc.)
Summary: add "active class to → add "active class to main nav items.
(Reporter)

Comment 2

8 years ago
please assign the bug to me (ned@theinterned.net) when you are done so I can work on styles for  the active nav item.

Thanks!

Comment 3

8 years ago
li active functionality already present for when you are on these pages.

The only CR here is to add projects active when looking at any project.

Comment 4

8 years ago
Done on drumbeat.trellon.org - see r458 & r459.

Only difference is that for visiting a project and related pages, you will see active-trail class rather than just active - this is Drupal core functionality... we can change it, but in the interests of time.
Assignee: pingers → ned

Comment 5

8 years ago
Pushed to staging. Please review.

Comment 6

8 years ago
Ah, Ned still needs to do the actual theming here (css).

Comment 7

8 years ago
@Ned: status?
(Reporter)

Comment 8

8 years ago
This is fixed in Bug 568335
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Reporter)

Updated

8 years ago
Assignee: ned → nobody
(Assignee)

Updated

3 years ago
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.