Recently I needed to style taxonomy block a bit, and there appeared a need to distinguish items in trail. So, here comes a patch... Maybe not the best solution, however it worked for me. The patch is made against 7.x-1.0 branch.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | taxonomy_block-add_active_trail_on_terms-1470486-4.patch | 5.65 KB | illmatix |
| #3 | taxonomy-active-trail-1470486-8450307.patch | 5.4 KB | kaido.toomingas |
| taxonomy-active-trail.patch | 1.59 KB | d.novikov |
Comments
Comment #1
Taxoman commentedComment #2
kaido.toomingas commentedThis wouldn't add all parents.
Did small modifications to your patch
Comment #3
kaido.toomingas commentedComment #4
illmatix commentedHere is a patched version based on 7.x-1.x in which I rolled in taxonomy-active-trail.patch from d.novikov and added active-trail class on to all parents of a term.