NAVIGATION
This shows you the differences between two versions of the page.
|
english:modules:calendar:enhanced-v13 [2011/01/20 10:28] Knut Heermann (flip-flop) |
english:modules:calendar:enhanced-v13 [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 11: | Line 11: | ||
| * Thumb with LightBox | * Thumb with LightBox | ||
| * Link with thumb | * Link with thumb | ||
| - | * TAG for Thumbnail when calling: e.g. ##WxHxCxQ=150x100x0x80## //(WIDTHxHEIGHTxCROPxQUALITY)// | + | * TAG-Control: for Thumbnail when calling: e.g. ##WxHxCxQ=150x100x0x80## //(WIDTHxHEIGHTxCROPxQUALITY)// |
| - | * TAG: Allday %%[ALLDAY]...[/ALLDAY]..[ALLDAY_ELSE]...[/ALLDAY_ELSE]%% //(04.01.2011)// | + | * TAG-Template: All Day %%[ALLDAY]...[/ALLDAY]..[ALLDAY_ELSE]...[/ALLDAY_ELSE]%% //(04.01.2011)// |
| * 18.01.2011 | * 18.01.2011 | ||
| - | * show_past=0|1 [ja|nein] //(shows the recent events in the time window if possible)// | + | * TAG-Control: show_past=0|1 [off|on] //(shows the recent events in the time window if possible)// |
| - | * date_start=+-XX Tage //(Start date of the time window relative to the current day)// | + | * TAG-Control: date_start=+-XX Tage //(Start date of the time window relative to the current day)// |
| * The template is divided into three areas %%<!--CALENDAR_HEADER//--> <!--CALENDAR_ENTRY//--> <!--CALENDAR_FOOTER//-->%% | * The template is divided into three areas %%<!--CALENDAR_HEADER//--> <!--CALENDAR_ENTRY//--> <!--CALENDAR_FOOTER//-->%% | ||
| - | * TAG: {TIMEWINDOWSTART:d.m.Y}, {TIMEWINDOWEND:d.m.Y} //(Start- and end dates of the time window available)// | + | * TAG-Template: {TIMEWINDOWSTART:d.m.Y}, {TIMEWINDOWEND:d.m.Y} //(Start- and end dates of the time window available)// |
| - | * TAG: {DATE:d.m.Y} //(Date of the current day)// | + | * TAG-Template: {DATE:d.m.Y} //(Date of the current day)// |
| - | * TAG: Current day %%[TODAY]...[/TODAY]..[TODAY_ELSE]...[/TODAY_ELSE]%% | + | * TAG-Template: Current day %%[TODAY]...[/TODAY]..[TODAY_ELSE]...[/TODAY_ELSE]%% |
| + | * 30.03.2011 | ||
| + | * With the internal time query of the current date now also the time is considered when %%"show_past=0"%%. Likewise during the day input of TODAY.. \\ If this is not required when entering TODAY, please insert a "0" instead of TODAY. The time is now set to 00:00:00. | ||
| Line 51: | Line 53: | ||
| \\ | \\ | ||
| - | {{:deutsch:module:kalender:fe_calendar_v13_de_1.gif|}} | + | {{:english:modules:calendar:fe_calendar_v13_en_1.gif|}} |
| ~~UP~~ | ~~UP~~ | ||
| Line 62: | Line 64: | ||
| {CALENDAR: | {CALENDAR: | ||
| items=10 | items=10 | ||
| - | template=calendar_v13.html | + | template=calendar_v13_en.html |
| lang=de | lang=de | ||
| tag=tag1, tag2 | tag=tag1, tag2 | ||
| tagmode=OR | tagmode=OR | ||
| - | date_start=01.01.2011 or TODAY or -15 | + | date_start=01.01.2011 or 01.01.2011 12:33 or TODAY or 0 or -15 |
| - | date_end=31.12.2011 or TODAY or 30 | + | date_end=31.12.2011 or 31.12.2011 14:00 or TODAY or 0 or 30 |
| href=index.php?XYZ | href=index.php?XYZ | ||
| WxHxCxQ=150x100x0x80 | WxHxCxQ=150x100x0x80 | ||
| Line 82: | Line 84: | ||
| The values can be: | The values can be: | ||
| * A **Date** e.g. **03.02.2011** | * A **Date** e.g. **03.02.2011** | ||
| - | * The word **TODAY** for the current day //(sliding time window)// | + | * 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** | * 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 | * E.g. a sliding time window could be starting at | ||
| Line 88: | Line 90: | ||
| * and always shows the next 30 days from start date | * and always shows the next 30 days from start date | ||
| * **date_end=30** | * **date_end=30** | ||
| + | * Number of days = 0 is a special case, like TODAY but with %%hr:min = 00:00%% | ||
| \\ | \\ | ||
| Line 122: | Line 125: | ||
| **Adds to Template V1.2:** | **Adds to Template V1.2:** | ||
| - | * **[ALLDAY]** . . . **[/ALLDAY]** - **[ALLDAY_ELSE]** . . . **[/ALLDAY_ELSE]** um bestimmte Einträge für den Schalter "Ganztägig" ein/auszublenden. | + | * **[ALLDAY]** . . . **[/ALLDAY]** - **[ALLDAY_ELSE]** . . . **[/ALLDAY_ELSE]** for specific entries for the switch "All Day" show or hide. |
| <code> | <code> | ||
| [ALLDAY] . . . [/ALLDAY] | [ALLDAY] . . . [/ALLDAY] | ||
| Line 147: | Line 150: | ||
| \\ | \\ | ||
| - | * **[TODAY]**...**[/TODAY]** - **[TODAY_ELSE]**...**[/TODAY_ELSE]** kennzeichnet den aktuellen Tag. | + | * **[TODAY]**...**[/TODAY]** - **[TODAY_ELSE]**...**[/TODAY_ELSE]** indicates the current day. |
| <code html> | <code html> | ||
| Line 169: | Line 172: | ||
| \\ | \\ | ||
| - | **Beispiel gesamtes Template:** | + | **Example entire template:** |
| <code html |h calendar_v13.html |h > | <code html |h calendar_v13.html |h > | ||
| <!-- calender_v13 //--> | <!-- calender_v13 //--> | ||
| Line 184: | Line 187: | ||
| <div class="left"> | <div class="left"> | ||
| <div class="date [TODAY]today[/TODAY]"> | <div class="date [TODAY]today[/TODAY]"> | ||
| - | <p><strong>[ALLDAY]Datum: [/ALLDAY][ALLDAY_ELSE]Startdatum: [/ALLDAY_ELSE]{STARTDATE:d.m.}</strong><strong class="year">{STARTDATE:Y}</strong></p> | + | <p><strong>[ALLDAY]Date: [/ALLDAY][ALLDAY_ELSE]Start Date: [/ALLDAY_ELSE]{STARTDATE:d.m.}</strong><strong class="year">{STARTDATE:Y}</strong></p> |
| - | [ALLDAY_ELSE]<p><strong>Enddatum: {ENDDATE:d.m.}</strong><strong class="year">{ENDDATE:Y}</strong></p>[/ALLDAY_ELSE] | + | [ALLDAY_ELSE]<p><strong>End Date: {ENDDATE:d.m.}</strong><strong class="year">{ENDDATE:Y}</strong></p>[/ALLDAY_ELSE] |
| </div> | </div> | ||
| </div> | </div> | ||
| Line 198: | Line 201: | ||
| [URL]<div class="other">AID/Alias/URL: {URL}[TARGET]{TARGET}[/TARGET]</div>[/URL] | [URL]<div class="other">AID/Alias/URL: {URL}[TARGET]{TARGET}[/TARGET]</div>[/URL] | ||
| - | [TEXT]Introduction Text: <div class="textlong">{TEXT}</div>[/TEXT] | + | [TEXT]Teaser text: <div class="textlong">{TEXT}</div>[/TEXT] |
| [TEXTLONG]Description: <div class="textlong">{TEXTLONG}</div>[/TEXTLONG] | [TEXTLONG]Description: <div class="textlong">{TEXTLONG}</div>[/TEXTLONG] | ||
| </div> | </div> | ||