Closed (fixed)
Project:
Special menu items
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
27 Oct 2011 at 16:48 UTC
Updated:
18 Jan 2013 at 13:54 UTC
It would be nice to have the cass class active-trail added to the element if a <nolink> item actually is in the active trail.
This would make it easier to create the css in some cases.
I've added two patches because the file has quite a lot trailing spaces - which should be removed to comply with the coding standard.
The ignored-spaces patch makes the review easier, but the normal patch should be applied.
Comments
Comment #1
gagarine commentedYeah good idea. thanks for the patch.
Comment #2
das-peter commentedMay I ask if you could commit the patch to the D7 branch?
Would be nice to have this at least in the "Dev" version ;)
Many thanks in advance.
Comment #3
webflo commentedComment #4
gagarine commentedcommitted in 7.x-dev
http://drupalcode.org/project/special_menu_items.git/commit/06da116
http://drupalcode.org/project/special_menu_items.git/commit/a7b8af1
Sorry it was late and I totally fail to give you the credit :(
Comment #5
das-peter commented@gagarine: Thanks for committing this - and never mind because of the credit, I'm here to get things done and not to collect credits... :)
Comment #7
petergus commentedIm looking to use this functionality but i notice the code has changed heavily since then... how can i implement this in the latest dev (version 2.0)?
EDIT: it only seems to be working for one language... very strange!
i have entity translation and my translated language is working, but not english.