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)

Comments

marcoka’s picture

Issue summary: View changes

.

marcoka’s picture

First note, custom small html generation instead of theme_item_list

$output = '<ul>';
  foreach($items as $key => $link) {
    $output .= '<li>' . $link . '</li>';
  }
  $output .= '</ul>';

Todo, putting that in a custom theming funtion.

marcoka’s picture

ok 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:

marcoka’s picture

Status: Active » Needs review
marcoka’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

,