Skip to content

List:The formatter "Dynamic list: Sort options bar"

A list collects contents according to the preset search criteria and shows them with the selected teasers.

The sort options bar allows the user to limit the results of a dynamic list interactively. Select boxes are displayed with which the sorting of the results can be chosen. It is also possible to limit the results according to categories.

Available element settings

Allows to change the element layout using predefined CSS modifications.

Please note that a specific element may not support all listed modifications.

Controls if it is possible to sort the list elements by title.

All content elements in OpenCms have a title that can be used for sorting.

Controls if it is possible to sort the list by date.

This requires that the elements in the list have a date that can be used for sorting, e.g. like events.

Controls if it is possible to sort the list by order number.

This requires that the elements in the list have an order number set, e.g. like FAQ entries.

Controls if a category selection filter dropdown is shown.

This requires that the elements in the list are attached to categories.

Controls how the categories are displayed.

OpenCms organized all categories in a tree structure. Any category can have sub-categories, which can be displayed similar to file paths .

Lets assume there is a category "Topic" with sub-categories "Sports" und "Politics". The following output can be generated:

All categories without path - Topic, Sports, Politics.
Only sub-categories without path - Sports, Politics.
All categories with path - Topic, Topic/Sports, Topic/Politics.
Only sub-categories with path - Topic/Sports, Topic/Politics.

Controls which categories are either shown or hidden in the filter.

You have to provide a comma separated list of (prefixes of) category names, e.g. "Theme, Loc".

For a match, a category has to start with any given name. For example "Loc" would match categories "Location" and "Locomotion". If a parent category is matched, all sub-categories are automatically matched, too.

If you provide category names, only matched categories are shown by default. If you prefix your list of names with "blacklist:", the matched categories are hidden and only the others are shown.