Problem
The currently html markup is not really good. Especially when using scripts that build for example trees with the markup. Views does not create lists like that, neither does taxonomy_menu
Like a module i coded myself http://drupal.org/project/dynatree
Suggestion
My suggestion is to not add wrapper divs inside the uls
Sample
http://www.root.artwaves.de/screensnapr/1335256838-MZTcWm.jpg
i am working on a solution.
Why
Makes the use of scripts that work on trees easier.
Like creating a menu on the left here www.texturecase.com (it uses dynatree)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | taxonomy_block-custom-theming-function-1545156-2.patch | 1.21 KB | marcoka |
Comments
Comment #0.0
marcoka commented.
Comment #1
marcoka commentedFirst note, custom small html generation instead of theme_item_list
Todo, putting that in a custom theming funtion.
Comment #2
marcoka commentedok patch attached. nothing fancy, just a custom theming function to create a list without unneeded wrapper divs that the normal item list would create inside the ul.
clean output now:
Comment #3
marcoka commentedComment #4
marcoka commentedComment #5.0
(not verified) commented,