NAVIGATION
This shows you the differences between two versions of the page.
|
3rd-party-modules:cm_calendar:cm-calendar-documentation:cm_calendar-docu-cp-eventslisting [2012/02/07 00:21] Peter Bracher |
3rd-party-modules:cm_calendar:cm-calendar-documentation:cm_calendar-docu-cp-eventslisting [2018/06/03 18:08] (current) |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| First you choose which calendars/categories you want to include in your frontend\\ | First you choose which calendars/categories you want to include in your frontend\\ | ||
| \\ | \\ | ||
| - | {{:3rd-party-modules:cm_calendar:cm-calendar-documentation:cm134.jpg|}}\\ | + | {{:3rd-party-modules:cm_calendar:cm-calendar-documentation:cm150.jpg|}}\\ |
| - | then you choose what kind of frontend aoutput you need; event listing, teaser listing or minicalendar\\ | + | then you choose what kind of frontend output you need; event listing, teaser listing or minicalendar\\ |
| \\ | \\ | ||
| + | |||
| ====== Event Listing ====== | ====== Event Listing ====== | ||
| \\ | \\ | ||
| Line 53: | Line 54: | ||
| The user can subscribe to the RSS feed with your calendar entries.\\ | The user can subscribe to the RSS feed with your calendar entries.\\ | ||
| \\ | \\ | ||
| - | This feature is still under developement. Right now its rather static, the file will be written when you save/update the CP with the event listing or when you update the RSS file in the overview tab in the calendars module section. An enhanced version with auto-updating abilities may come soon. | + | This feature is still under developement. Right now its rather static, the file will be written when you save/update the CP with the event listing or when you update the RSS file in the overview tab in the calendars module section. An enhanced version with auto-updating abilities may come soon.\\ |
| + | \\ | ||
| + | \\ | ||
| + | ====== Pattern for the RT's in the template for 'event list' ====== | ||
| + | The sections of the template and the RT's within the different sections are rendered by the script. | ||
| + | |||
| + | Note: usually the '[CALENDAR_xxx' pattern represents the content of the field and the '[LANG_xxx' pattern represents the titel for the field as translated in the frontend language section of the module (default is english) - means, that the titles appear in the browser-language of your users. | ||
| + | |||
| + | Note the special date format functions: {FORMAT_DATE:j}\\ | ||
| + | It's easy to add eye catching effects to your event listings with that option.\\ | ||
| + | See the reference at [[http://www.php.net/manual/function.date.php|php manual]] for all the date options. | ||
| + | |||
| + | |||
| + | <code html><!--CALENDAR_LIST_ENTRY_START//--> | ||
| + | |||
| + | {FORMAT_DATE:j}{FORMAT_DATE:l} | ||
| + | [CALENDAR_DATE]{CALENDAR_DATE}[/CALENDAR_DATE] | ||
| + | [CALENDAR_ICAL]{CALENDAR_ICAL}[/CALENDAR_ICAL] | ||
| + | [CALENDAR_TITLE][LANG_TITLE]{LANG_TITLE}[/LANG_TITLE]{CALENDAR_TITLE}[/CALENDAR_TITLE] | ||
| + | [CALENDAR_TIME][LANG_TIME]{LANG_TIME}[/LANG_TIME]{CALENDAR_TIME}[/CALENDAR_TIME] | ||
| + | [CALENDAR_SPAN]{CALENDAR_SPAN}[/CALENDAR_SPAN] | ||
| + | [CALENDAR_LOCATION][LANG_LOCATION]{LANG_LOCATION}[/LANG_LOCATION]{CALENDAR_LOCATION}[/CALENDAR_LOCATION] | ||
| + | [CALENDAR_TEASER][LANG_TEASER]{LANG_TEASER}[/LANG_TEASER]{CALENDAR_TEASER}[/CALENDAR_TEASER] | ||
| + | [CALENDAR_DESCRIPTION][LANG_DESCRIPTION]{LANG_DESCRIPTION}[/LANG_DESCRIPTION]{CALENDAR_DESCRIPTION}[/CALENDAR_DESCRIPTION] | ||
| + | [IMAGE] | ||
| + | [ZOOM_ELSE] | ||
| + | [IMAGE_URL]<a href="{IMAGE_URL}"{IMAGE_URL_TARGET}>[/IMAGE_URL]<img src="img/cmsimage.php/150x150x1/{IMAGE_ID}" alt="{IMAGE}" border="0" />[IMAGE_URL]</a>[/IMAGE_URL] | ||
| + | [CAPTION]<p>{CAPTION}</p>[/CAPTION] | ||
| + | [/ZOOM_ELSE] | ||
| + | [ZOOM] | ||
| + | <a href="img/cmsimage.php/600x400/{IMAGE_ID}" target="_blank"{LIGHTBOX}[LIGHTBOX_CAPTION] title="{LIGHTBOX_CAPTION}"[/LIGHTBOX_CAPTION]> | ||
| + | <img src="img/cmsimage.php/100x100x1/{IMAGE_ID}" alt="{IMAGE}" border="0" /> | ||
| + | </a> | ||
| + | [/ZOOM] | ||
| + | [/IMAGE] | ||
| + | [CALENDAR_ARTICLELINK]{CALENDAR_ARTICLELINK}[/CALENDAR_ARTICLELINK] | ||
| + | |||
| + | <!--CALENDAR_LIST_ENTRY_END//--> | ||
| + | |||
| + | <!--CALENDAR_LIST_ENTRY_SPACE_START//--> | ||
| + | |||
| + | <!--CALENDAR_LIST_ENTRY_SPACE_END//--> | ||
| + | |||
| + | <!--CALENDAR_LIST_TOP_START//--> | ||
| + | |||
| + | {PRINT_LINK} | ||
| + | {ICAL_LINK} | ||
| + | [LANG_SELECTION]{LANG_SELECTION}[/LANG_SELECTION]{SELECTION_DROPDOWN} | ||
| + | [CALENDAR_ENTRIES]{CALENDAR_ENTRIES}[/CALENDAR_ENTRIES] | ||
| + | |||
| + | <!--CALENDAR_LIST_TOP_END//--> | ||
| + | |||
| + | <!--CALENDAR_LIST_BOTTOM_START//--> | ||
| + | <!--CALENDAR_LIST_BOTTOM_END//--></code> | ||