Differences

This shows you the differences between two versions of the page.

3rd-party-modules:cm_calendar:cm-calendar-documentation:cm_calendar-docu-cp-minicalendar [2012/02/07 00:58]
Peter Bracher
3rd-party-modules:cm_calendar:cm-calendar-documentation:cm_calendar-docu-cp-minicalendar [2018/06/03 18:08] (current)
Line 7: Line 7:
{{:3rd-party-modules:cm_calendar:cm-calendar-documentation:cm152.jpg|}}\\ {{:3rd-party-modules:cm_calendar:cm-calendar-documentation:cm152.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\\
You can display several month at once. Appearance (column/row) can be handled in CSS.\\ You can display several month at once. Appearance (column/row) can be handled in CSS.\\
\\ \\
 +
====== Mini Calendar ====== ====== Mini Calendar ======
\\ \\
-{{:3rd-party-modules:cm_calendar:cm-calendar-documentation:cm147.jpg|}}\\+{{:3rd-party-modules:cm_calendar:cm-calendar-documentation:cm153.jpg|}}\\
You can add your own css to make the calendar personal to your needs/wants. You can add your own css to make the calendar personal to your needs/wants.
 +
 +
 +The module comes with 4 css files to choose from:\\
 +{{:3rd-party-modules:cm_calendar:cm-calendar-documentation:cm157.jpg|}}{{:3rd-party-modules:cm_calendar:cm-calendar-documentation:cm158.jpg|}}{{:3rd-party-modules:cm_calendar:cm-calendar-documentation:cm159.jpg|}}{{:3rd-party-modules:cm_calendar:cm-calendar-documentation:cm160.jpg|}}\\
 +but you can easily make your own.
---- ----
\\ \\
 +{{:3rd-party-modules:cm_calendar:cm-calendar-documentation:cm154.jpg|}}\\
 +There are some options related to the link behavior.\\
 +You can enable the links globally for articlelinks if there are any, and for the days with entries, where they should link to and optionally jump directly to that entry by enabling the anchor option.
 +
 +----
 +\\
 +{{:3rd-party-modules:cm_calendar:cm-calendar-documentation:cm155.jpg|}}\\
 +Set the first day of the week according to your preferences.
 +
 +----
 +\\
 +{{:3rd-party-modules:cm_calendar:cm-calendar-documentation:cm156.jpg|}}\\
 +Here you can add to the forward and back link in the calendar view an image, default value (char) is defined in translation section.
 +
 +----
 +\\
 +
 +====== Replacement tag for the calendar view ======
 +You need to add a replacement tag somewhere in your page in order to get the mini calendar visible in frontend.\\
 +It's not enough to just set the CP with the calendar view enabled.
 +
 +Most likely you'll need to add the replacement tag right after the CP cmCalendar like:\\
 +  * CP cmCalendar with calendar view enabled
 +  * CP Single Text with RT: {CM_CALENDAR}
 +
 +this will show the Mini Calendar at this position.
 +(I had to do it like that to get a flexible way to include the mini calendar in general templates also)
 +
 +{CM_CALENDAR}
 +You can use it in your template, but the current content part must be included in that page.
 +
 +To use it anywhere in your templates place the current content part in a hidden structure and use replacement tag:
 +{CM_CALENDAR}{SHOW_CONTENT:CP,[CP-ID]}
 +
 +
 +====== AJAX Mini Calendar ======
 +
 +There exists an AJAX extension for the frontend calendar, only available as donationware.\\
3rd-party-modules/cm_calendar/cm-calendar-documentation/cm_calendar-docu-cp-minicalendar.1328572695.txt.gz · Last modified: 2018/06/03 18:06 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0