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:
filterbar itemdescriptionitem optionsoption valuesdefault valueoption description
yearsShow a list of all available years. Additional there are some special entries available (see item options). show_alltrue | falsetrueAdd an entry to show all events.
show_upcomingtrue | falsetrueAdd an entry to show all upcoming events.
show_pasttrue | falsefalseAdd an entry to show events in the past.
years_orderdesc | ascdescSet descending or ascending order of year entries.
monthsShow a list of all available months. show_alltrue | falsefalseAdd an entry to show all events.
show_upcomingtrue | falsefalseAdd an entry to show all upcoming events.
show_pasttrue | falsefalseAdd an entry to show events in the past.
months_orderdesc | ascdescSet descending or ascending order of month entries.
date_formatphp date-formatsY-mSet the displayed date format of the month entries.
daterangeWith 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_orderall | upcoming | pastall&upcoming&pastSpecifies the displayed values and their order. The items must be seperated by "&".
catsShow a list of all available categories.show_alltrue | falsetrueAdd an entry to show events from all categories.
resetOnly a link to reset the eventlist filter to standard.captionany textResetSet the caption of the link.
Find below an overview of the available filterbar display options:
display optiondescriptionavailable for
hlist"hlist" shows a horizonal list seperated by "|" with a link to each itemyears, 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_dropdown
In this example you can see that the filterbar item and the used display option is seperated by "_". You can define several filterbar items seperated by comma (","). The items will be aligned on the left side.

years_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.

'), 'show_starttime' => array('val' => 'false
true
event_list_only
single_event_only', 'desc' => __('This attribute specifies if the starttime is displayed in the event list.
Choose "false" to always hide and "true" to always show the starttime.
With "event_list_only" the starttime is only visible in the event list and with "single_event_only" only for a single event','event-list')), 'show_location' => array('val' => 'false
true
event_list_only
single_event_only', 'desc' => __('This attribute specifies if the location is displayed in the event list.
Choose "false" to always hide and "true" to always show the location.
With "event_list_only" the location is only visible in the event list and with "single_event_only" only for a single event','event-list')), 'show_cat' => array('val' => 'false
true
event_list_only
single_event_only', 'desc' => __('This attribute specifies if the categories are displayed in the event list.
Choose "false" to always hide and "true" to always show the category.
With "event_list_only" the categories are only visible in the event list and with "single_event_only" only for a single event','event-list')), 'show_details' => array('val' => 'false
true
event_list_only
single_event_only', 'desc' => __('This attribute specifies if the details are displayed in the event list.
Choose "false" to always hide and "true" to always show the details.
With "event_list_only" the details are only visible in the event list and with "single_event_only" only for a single event','event-list')), 'details_length' => array('val' => 'number', 'desc' => __('This attribute specifies if the details should be truncate to the given number of characters in the event list.
With the standard value 0 the full details are displayed.
This attribute has no influence if only a single event is shown.','event-list')), 'collapse_details' => array('val' => 'false', 'desc' => __('This attribute specifies if the details should be collapsed initially.
Then a link will be displayed instead of the details. By clicking this link the details are getting visible.
Available option are "false" to always disable collapsing and "true" to always enable collapsing of the details.
With "event_list_only" the details are only collapsed in the event list view and with "single_event_only" only in single event view.','event-list')), 'link_to_event' => array('val' => 'false
true
event_list_only
single_event_only
events_with_details_only', 'desc' => __('This attribute specifies if a link to the single event should be added onto the event name in the event list.
Choose "false" to never add and "true" to always add the link.
With "event_list_only" the link is only added in the event list and with "single_event_only" only for a single event.
With "events_with_details_only" the link is only added in the event list for events with event details.','event-list')), 'add_feed_link' => array('val' => 'false
true
event_list_only
single_event_only', 'desc' => __('This attribute specifies if a rss feed link should be added.
You have to enable the feed in the eventlist settings to make this attribute workable.
On that page you can also find some settings to modify the output.
Choose "false" to never add and "true" to always add the link.
With "event_list_only" the link is only added in the event list and with "single_event_only" only for a single event','event-list')), 'url_to_page' => array('val' => 'url', 'desc' => __('This attribute specifies the page or post url for event links.
The standard is an empty string. Then the url will be calculated automatically.
An url is normally only required for the use of the shortcode in sidebars. It is also used in the event-list widget.','event-list')), // Invisible attributes ('hidden' = true): This attributes are required for the widget but will not be listed in the attributes table on the admin info page 'title_length' => array('val' => 'number', 'hidden' => true, 'desc' => __('This attribute specifies if the title should be truncate to the given number of characters in the event list.
With the standard value 0 the full details are displayed.
This attribute has no influence if only a single event is shown.','event-list')), 'location_length' => array('val' => 'number', 'hidden' => true, 'desc' => __('This attribute specifies if the title should be truncate to the given number of characters in the event list.
With the standard value 0 the full details are displayed.
This attribute has no influence if only a single event is shown.','event-list')), 'sc_id_for_url' => array('val' => 'number', 'hidden' => true, 'desc' => __('This attribute the specifies shortcode id of the used shortcode on the page specified with "url_to_page" attribute.
The empty standard value is o.k. for the normal use. This attribute is normally only required for the event-list widget.','event-list')), ); ?>