Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
i needed to build an ordered list and decided to patch our existing theme_item_list function(). here is the patch.
Comment | File | Size | Author |
---|---|---|---|
item_list.patch | 1.07 KB | moshe weitzman | |
Comments
Comment #1
Tobias Maier CreditAttribution: Tobias Maier commented+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
Comment #2
moshe weitzman CreditAttribution: moshe weitzman commentedComment #3
Dries CreditAttribution: Dries commentedCommitted to HEAD. Thanks.
Comment #4
(not verified) CreditAttribution: commented