Postponed (maintainer needs more info)
Project:
Better Select
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 May 2009 at 09:02 UTC
Updated:
6 Sep 2013 at 17:46 UTC
Thanks for the handy module! I did not understand what gives the "depth classes" option and how it might be used. I checked it and did not see any influence on the output. Should there be some extra configuration following checking this option?
Amir
Comments
Comment #1
Mark Theunissen commentedAfter checking this box, some extra processing is done to calculate the depth of the items. You won't see anything change visually, but if you take a look at the HTML source, you will see that the items have those extra classes. You can then use CSS to style them however you like (maybe by making them bold, for example).
Hope that helps!
Comment #2
amir simantov commentedThanks Mark, I will give it a try!
Comment #3
bartezz commentedI'm using depth classes but there is something strange going on. I have a taxonomy with 3 levels;
- Vehicles
-- Man powered
--- Bicylcle
--- Unicycle
-- Motorized
--- Airplane
--- Car
--- Motorcycle
When I first enabled the module to add depth classes I styled the depths. The depth classes that were added were depth-0, depth-1 and depth-2.
Now after working on the site for a while I noticed the classes were messed up. When I look at the source code I notice the better select now adds classes depth-0, depth-2 and depth 4. Nothing has changed in the taxonomy.
I've disabled the option and re-enabled but this doesn't have any effect. How can this be happenening?
Cheers
Comment #4
john franklin commentedIs this still happening? I can't reproduce it with the current 6.x-1.x-dev.