Closed (fixed)
Project:
Taxonomy Block
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
24 Apr 2012 at 08:41 UTC
Updated:
22 May 2012 at 17:40 UTC
Jump to comment: Most recent file
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
My suggestion is to not add wrapper divs inside the uls
http://www.root.artwaves.de/screensnapr/1335256838-MZTcWm.jpg
i am working on a solution.
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,