{CALENDAR:
items=10
template=calendar_v13_en.html
lang=de
tag=tag1, tag2
tagmode=OR
date_start=01.01.2011 or 01.01.2011 12:33 or TODAY or 0 or -15
date_end=31.12.2011 or 31.12.2011 14:00 or TODAY or 0 or 30
href=index.php?XYZ
WxHxCxQ=150x100x0x80
show_past=1
}
\\
**Calendar time window:**
is set with **date_start** and **date_end**.
The values can be:
* A **Date** e.g. **03.02.2011**
* The word **TODAY** for the current day and time //(sliding time window)//
* The indication of the number XX days from current date viewed: e.gg **15** or **-20**
* E.g. a sliding time window could be starting at
* **date_start=TODAY**
* and always shows the next 30 days from start date
* **date_end=30**
* Number of days = 0 is a special case, like TODAY but with %%hr:min = 00:00%%
\\
**show_past=1|0**
This value determines whether or not to show past appointments. \\
The output **(show_past=1)** only makes sense if either a static time window (**date_start= date_start=01/06/2011** and **date_start=12/31/2011**) or a sliding time window forward to the current date (**date_start=-15** and **date_start=30**) is set.
\\
~~UP~~
===== Template V1.3: =====
Z.B. in template/calendar/TemplateName.html
Added **TEXTLONG** for the Wysiwyg Text and **IMAGE_CALENDAR** for the little Thumbnail and original image //(LightBox)//. \\
[TEXTLONG]{TEXTLONG}[/TEXTLONG]
[IMAGE_CALENDAR]{IMAGE_CALENDAR}[/IMAGE_CALENDAR]
The execution of the **LightBox** is controlled by the switch **[x] LightBox**. \\
[x] click zoom without function. \\
If a link is set in the URL box below the image it is only active if the lightbox is not turned on.
**Technology:** The images are loaded with the process "cmsimage".
\\
**Adds to Template V1.2:**
* **[ALLDAY]** . . . **[/ALLDAY]** - **[ALLDAY_ELSE]** . . . **[/ALLDAY_ELSE]** for specific entries for the switch "All Day" show or hide.
[ALLDAY] . . . [/ALLDAY]
[ALLDAY_ELSE] . . . [/ALLDAY_ELSE]
\\
* **{TIMEWINDOWSTART:d.m.Y}** . . . **{TIMEWINDOWEND:d.m.Y}** output of Start/end time of the time window //(in the HEADER and FOOTER available)//. \\
* **{DATE:d.m.Y}** outputs the current date in the entire template. \\
* Subdivision of the template in three areas:
* %% ... %%
* %% ... %%
* %% ... %%
Date Today: {DATE:d.m.Y}
The issue date of {TIMEWINDOWSTART:d.m.Y} to {TIMEWINDOWEND:d.m.Y}
\\
* **[TODAY]**...**[/TODAY]** - **[TODAY_ELSE]**...**[/TODAY_ELSE]** indicates the current day.
.....
.....
mit z.B.
.calendar div.left .date {
background-color: lightgrey;
...
...
}
.calendar div.left .today{
background-color: #D0C2EF;
}
\\
**Example entire template:**
Date Today: {DATE:d.m.Y}
The issue date of {TIMEWINDOWSTART:d.m.Y} to {TIMEWINDOWEND:d.m.Y}
[ALLDAY]Date: [/ALLDAY][ALLDAY_ELSE]Start Date: [/ALLDAY_ELSE]{STARTDATE:d.m.}{STARTDATE:Y}
[ALLDAY_ELSE]End Date: {ENDDATE:d.m.}{ENDDATE:Y}
[/ALLDAY_ELSE]
[IMAGE_CALENDAR]{IMAGE_CALENDAR}[/IMAGE_CALENDAR]
~~UP~~
===== Download V1.3: =====
* **include/inc_module/mod_calendar/inc/calendar_v13.class.php** //(Update 18.01.2011 several changes)//
* **template/inc_script/frontend_render/init_calendar.php** //(Update 18.01.2011)//
* **template/calendar/calendar_v13.html** //(Update 18.01.2011 several changes)//
* **template/inc_css/specific/calendar_v13.css** //(Update 18.01.2011 Adaptation to new TAGs)//
{{:deutsch:module:kalender:calendar_v13.zip|}}
\\
\\
===== Download V1.3 completely: =====
The complete module with all files.
Incl. a small extension in the BE: Month Buttons\\
{{:deutsch:module:kalender:be_liste_head01_de_1.gif|}}
**Installation:** The old module in include/inc_module/mod_calendar must completely deleted, or overwrite with this version. \\
Please do not rename the path of the old version, that does not work. \\
\\
**Please delete or rename the previous file %%"template/inc_script/frontend_render/init-calendar.php"%% to %%"init-calendar.php_"%% !!**
{{:deutsch:module:kalender:mod_calendar_v13_all.zip|}}
\\
--- //[[flip-flop@myrealbox.com|Knut Heermann (flip-flop)]] 2010/11/30 01:37//