i needed to build an ordered list and decided to patch our existing theme_item_list function(). here is the patch.

CommentFileSizeAuthor
item_list.patch1.07 KBmoshe weitzman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Tobias Maier’s picture

+1 for the new feature

I came up to the following problem: I want to set a specific start-value and a specific type for numeration
(all with css) and maybe I want to set some li elements with a value

look at
http://www.htmlref.com/reference/appa/tag_ol.htm
http://www.htmlref.com/reference/appa/tag_ul.htm
http://www.htmlref.com/reference/appa/tag_li.htm

true I want to do it with css and not with deprecated html but therefore I have to assign a class-attribute or a style-attribute (why making a whole class just for one start value?)

maybe we should follow the way how to do it you can see at http://drupaldocs.org/api/head/function/theme_table

greets tobias

moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community
Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)