This page describes the options that apply to short codes and Widgets. If the widget configuration form doesn't allow you to set the value for an option, you can place the value in the Other Options field on the Widget configuration screen. For example, you could set "Other Options" to
time_format="g:i a" date_format="d/M"
Name |
Applies To |
Description |
allow_recurrence |
Add Event Form |
1 to allow recurring events, 0 to only allow one-time events. |
by_method - required |
All except add event form. |
Method to extract data. Support values: |
by_id - required |
All except add event. |
ID of calendar, resource, etc. to retrieve. E.G. 2. |
cal_item_id |
View Single Event |
The cal item id of a specific event to display. If the value is present on the URL, it will override any value contained as an attribute on the short code. |
CDSearchText |
Search |
Text to search for. Normal connectDaily search logic applies. |
collapse_label |
Events Filter |
Label displayed with filter legend to indicate clicking on the legend collapses the filter box. |
collapse_threshold |
Events Filter |
If more than collapse_threshold filter options are present, collapse the |
date_format |
Detailed List, Simple List |
PHP Date Time Format codes to use. Refer to the PHP documentation for date() for additional information. You can escape characters with \\ to prevent them from being interpreted. For example, you can put a format of "\\H H i" to show the time as: H 12:34 The time continuation separator is a string to place between a start and end time for an event. The default value is " - ". |
maxcount |
Detailed List, Simple List, |
Max # of items to return. |
dayspan |
Detailed List, Simple List, |
# Days to retrieve events for. |
enable_dropdown |
Responsive Full-Sized Calendar |
"1" to enable the selection dropdown, "0" to disable it. Say you're viewing calendars by event type, setting enable_dropdown="1" would display a calendar with a dropdown allowing you select which event type you're viewing. |
enable_styles |
Responsive Full-Sized Calendar |
"1" to display event styles from connectDaily, "0" to disable them. |
exclude_ids |
Events Filter |
A comma-separated list of IDs to not show in the list. |
height, width |
Add Event, Calendar IFrame |
Height and width of IFrame to insert. Units must be included. E.G. |
required_fields |
Add Event Form |
Space or comma-separated list of additional fields to mark as required. Field names are the input element names without the CD prefix. E.G. contact_info. |
show_endtimes |
Detailed List, Simple LIst |
Set to "1" to display event end time. |
show_starttimes |
Simple List |
Set to "1" to display event start times. |
target |
Mini-Calendar |
The mini-calendar by default displays the day's content in a popup. If you specify the target attribute, you can specify an HTML element (div) to place the day's content into. For example, if the div's ID is "myDiv", then add this to the mini-calendar widget's other options: target="#myDiv" |
title |
Events Filter |
Legend for checkbox field set. |
view |
Calendar IFrame |
Specify connectDaily page to display in IFrame. Some examples are: ViewPlanner.html, ViewList.html, ViewDay.html, ViewYear.html, etc. Default: View.html |
wrap_events |
Responsive Full-Sized Calendar |
"1" to wrap long event titles, "0" to truncate them. |
See Also: Remotely Extracting Data specifically for jsonp, Filtering On Multiple Options