The list model is used to render ordered and unordered lists. When using the list model you simply need to enter the list of items as text. Lists can be easily rendered and reused on your site by using the $list function. Consider the following sample list: Referring to the List Items grid notice that list items can include $function references such as $link, $locale, etc. Rendering the ListLists are rendered by passing the list id to the $list function. Suppose the list above is called vinyl_tarp_benefits, the dollar function $list(vinyl_tarp_benefits) would render the following output: Nested ListsTo build nested lists, simply define a sublist using the list model then refer to this in a parent list definition using the $list function. Other PropertiesIn addition to the list items, the following properties can be used to configure the list. List TypeChoose the type of numbering or bullets to be used for the list. Start FromIf this list is a continuation of another list, you can elect to start the list number from a value other than 1. Optional HeadingThis field can be used to supply additional text to be used to introduce the list. Heading Class, List Class, Item ClassThese CSS class names can be used to control the appearance of the heading, list and list items respectively. The class names you enter must be defined either in the stylesheets associated with the pages where the list is referenced. |