You can embed calendars from ChurchTools on your own website using so-called iFrames, which retrieve a URL and display it on their own page. You can modify the calendar display using GET parameters.
GET Parameters | Description |
---|---|
viewname=eventView | Sets the view. You can choose between eventView (event list) and calView (usual calendar with day, week and month). |
title=example-calendar | This can be used to overwrite the title. |
category_id=2,3,5 | It can be specified which calendars are available for selection. If only one is specified here, the multiselect is automatically omitted. Multiple calendars are separated by commas. |
category_select=2,3 | This can be used to determine which calendars are already preselected. If the parameter is not present, all are selected. |
embedded=true | This must be specified if the view is to be shown without the usual frames. |
entries=3 | This only works with viewname=eventView. It specifies how many calendar entries are to be displayed. |
minical=true | This only works for viewname=eventView. It reduces the entries even further to the absolutely essential. Notes are displayed directly with max. 100 characters and if a link is set in the event, it is used here. |
startdate | Sets the start date of the calendar (in the format YYYY-MM-DD). |
enddate | Sets the end date of the calendar (in the format YYYY-MM-DD). |
hideFooter | If this is set to =true, the copyright and the entire footer will be hidden. |
css_class | With this you can pass your own CSS class as text, which will be inserted into the DOM. This makes it possible to uniquely identify several iFrames and style them accordingly with CSS. |
If you want to filter a list view of appointments, this is done via a hash value in the URL.
Hash Value | Description |
---|---|
#CalView/searchEntry:<term> | The <term> represents the search term and must be placed at the very end of the URL. |