Previous Topic

Next Topic

Book Contents

Book Index

Short Codes Reference - Joomla

connectDaily supports a Joomla Plugin that makes it easy to integrate into your site. Integration is done using short codes.

Example Usage:

{connectdaily_simplelist by_method='calendar_id' by_id='2'}

Supported short codes are:

Short Code

Description

connectdaily_addevent

A responsive event creation form for visitors to your site.

connectdaily_detailedlist

A responsive list of events that displays event details in-line.

connectdaily_calendariframe

Write an IFrame Tag that calls the calendar's View.html page. See Also: Calendar Display Arguments

Use of this option is discouraged because it is not responsive. We strongly encourage designers to use on of the native short codes.

connectdaily_event

List the details for a single event.

connectdaily_filter

Generates a set of checkboxes that can be used to filter the events shown on the responsive month view calendar.

connectdaily_icalendar

Generates a webcal link containing iCalendar data for the specified calendar.

connectdaily_minicalendar

Generate a mini-calendar suitable for inserting in a sidebar or footer. Active days will be clickable and display the events for that day.

connectdaily_monthview

Generate a responsive full-sized calendar.

connectdaily_simplelist

Display a simple list of events.

connectdaily_test

Generate test output.

Short Code Arguments

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:

calendar_id
item_type_id
location_id
resource_type_id <= ! Events Filter
resource_id <= ! Events Filter
style_id <= Events Filter Only

by_id - required

All except add event.

ID of calendar, resource, etc. to retrieve. E.G. 2.

cal_item_id

View Single Event

Optional cal item id of single event to display. If this value is present on the URL, it will override the attribute value in the short code.

CDSearchText

Search

Text search parameters. 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
datetime_format
time_format
time_continuation_separator

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,
Search

Max # of items to return.

dayspan

Detailed List, Simple List,
Search

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

height="1024px" width="600px"

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

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.

Notes

If you have the Email Cloaking content plugin, you must also place "{emailcloak=off}" in your content for the simple list.

See Also: Remotely Extracting Data specifically for jsonp, Filtering On Multiple Options

See Also

Joomla Integration

Installation

Inserting a Shortcode

Responsive Month View Calendar and Mini-Calendar - Joomla

Simple and Detailed List of Events - Joomla

Events Filter Short Code for Joomla

Joomla Calendar Plugin Frequently Asked Questions

Display Single Event - Joomla!