array('val' => 'all
event-id',
'desc' => __('With this attribute you can specify an event from which the event-details are shown initially. The standard is to show the event-list.
Specify an event-id e.g. "13" to change this behavior. It is still possible to go back to the event-list via the filterbar or url parameters.','event-list')),
'initial_date' => array('val' => 'all
upcoming
past
year',
'desc' => __('This attribute specifies which events are initially shown. The standard is to show the upcoming events.
Specify a year e.g. "2014" to change this behavior. It is still possible to change the displayed event date range via the filterbar or url parameters.','event-list')),
'initial_cat' => array('val' => 'all
category slug',
'desc' => __('This attribute specifies the category of which events are initially shown. The standard is to show events of all categories.
Specify a category slug to change this behavior. It is still possible to change the displayed categories via the filterbar or url parameters.','event-list')),
'initial_order' => array('val' => 'date_asc
date_desc',
'desc' => __('This attribute specifies the initial order of the events.
With "date_asc" (standard value) the events are sorted from old to new, with "date_desc" in the opposite direction (from new to old).','event-list')),
'date_filter' => array('val' => 'all
upcoming
past
year',
'desc' => __('This attribute specifies the dates and date ranges of which events are displayed. The standard is "all" to show all events.
Filtered events according to date_filter value are not available in the event list.
You can find all available values with a description and examples in "Available Date Formats" and "Available Date Range Formats" below.
See "Filter Syntax" description if you want to define complex filters.','event-list')),
'cat_filter' => array('val' => 'all
category slugs',
'desc' => __('This attribute specifies the categories of which events are shown. The standard is "all" or an empty string to show all events.
Filtered events defined in categories which doesn´t match cat_filter are not shown in the event list. They are also not available if a manual url parameter is added.
The filter is specified via the given category slug. See "Filter Syntax" description if you want to define complex filters.','event-list')),
'num_events' => array('val' => 'number',
'desc' => __('This attribute specifies how many events should be displayed if upcoming events is selected.
0 is the standard value which means that all events will be displayed.
Please not that in the actual version there is no pagination of the events available.','event-list')),
'show_filterbar' => array('val' => 'false
true
event_list_only
single_event_only',
'desc' => __('This attribute specifies if the filterbar should be displayed. The filterbar allows the users to select filters to limit the listed events.
Choose "false" to always hide and "true" to always show the navigation.
With "event_list_only" the filterbar is only visible in the event list and with "single_event_only" only for a single event','event-list')),
'filterbar_items' => array('val' => 'years_hlist
years_dropdown
months_hlist
months_dropdown
daterange_hlist
daterange_dropdown
cats_hlist
cats_dropdown
reset_link',
'desc' => 'This attribute specifies the available items in the filterbar. This options are only valid if the filterbar is displayed (see show_filterbar attribute).
Find below an overview of the available filterbar items and their options:
Find below an overview of the available filterbar display options:filterbar item description item options option values default value option description years Show a list of all available years. Additional there are some special entries available (see item options).
show_all true | false true Add an entry to show all events. show_upcoming true | false true Add an entry to show all upcoming events. show_past true | false false Add an entry to show events in the past. years_order desc | asc desc Set descending or ascending order of year entries. months Show a list of all available months.
show_all true | false false Add an entry to show all events. show_upcoming true | false false Add an entry to show all upcoming events. show_past true | false false Add an entry to show events in the past. months_order desc | asc desc Set descending or ascending order of month entries. date_format php date-formats Y-m Set the displayed date format of the month entries. daterange With this item you can display the special entries "all", "upcoming" and "past". You can use all or only some of the available values and you can specify their order. item_order all | upcoming | past all&upcoming&past Specifies the displayed values and their order. The items must be seperated by "&". cats Show a list of all available categories. show_all true | false true Add an entry to show events from all categories. reset Only a link to reset the eventlist filter to standard. caption any text Reset Set the caption of the link.
display option description available for hlist "hlist" shows a horizonal list seperated by "|" with a link to each item years, months, daterange, cats dropdown "dropdown" shows a select box where an item can be choosen. After the selection of an item the page is reloaded via javascript to show the filtered events. years, months, daterange, cats link "link" shows a simple link which can be clicked. reset
Find below some declaration examples with descriptions:
years_hlist,cats_dropdownyears_dropdown(show_all=false|show_past=true),cats_dropdown;;reset_link
In this example you can see that filterbar options can be added in brackets in format "option_name=value". You can also add multiple options seperated by a pipe ("|").
The 2 semicolon (";") devides the bar in 3 section. The first section will be displayed left-justified, the second section will be centered and the third section will be right-aligned. So in this example the 2 dropdown will be left-aligned and the reset link will be on the right side.