Differences

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

english:modules:calendar:enhanced-v13 [2011/01/20 10:13]
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 44: Line 46:
**Update:** V1.2a filename changed //(08.01.2011)// \\ **Update:** V1.2a filename changed //(08.01.2011)// \\
**Update:** V1.3 several parts expanded //(18.01.2011)// \\ **Update:** V1.3 several parts expanded //(18.01.2011)// \\
-**Verzeichnis:** include/inc_module/mod_calendar/inc/ * \\+**Folder:** include/inc_module/mod_calendar/inc/ * \\
**Condition:**  -- **Condition:**  --
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 103: Line 106:
Z.B. in template/calendar/TemplateName.html Z.B. in template/calendar/TemplateName.html
-Hinzugefügt **TEXTLONG** für den Wysiwyg Text und **IMAGE_CALENDAR** für das kleine Vorschaubild und Originalbild //(LightBox)//. \\+Added **TEXTLONG** for the Wysiwyg Text and **IMAGE_CALENDAR** for the little Thumbnail and original image //(LightBox)//. \\
<code> <code>
Line 111: Line 114:
-Die Ausführung  der **LightBox** wird im Termin durch den Schalter **[x] LightBox** gesteuert. \\ +The execution of the **LightBox** is controlled by the switch **[x] LightBox**. \\ 
-[x] Klick vergrößern ist ohne Funktion. \\ +[x] click zoom without function. \\ 
-<del>Ist ein Link im Feld URL unterhalb des Bildes gesetzt, wird die LightBox Ausgabe übersteuert.</del> \\ +If a link is set in the URL box below the image it is only active if the lightbox is not turned on.
-Ist ein Link im Feld URL unterhalb des Bildes gesetzt ist dieser nur aktiv wenn die LightBox nicht eingeschaltet ist. +
-**Technik:** Die Bilder werden über das Verfahren "cmsimage" geladen. +**Technology:** The images are loaded with the process "cmsimage".
\\ \\
-**Ergänzt zu 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 130: Line 132:
\\ \\
-  * **{TIMEWINDOWSTART:d.m.Y}** . . . **{TIMEWINDOWEND:d.m.Y}**  gibt die Anfangs/endzeit des Zeitfensters aus //(im HEADER und FOOTER verfügbar)//. \\ +  * **{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}** gibt das aktuelle Datum im gesamten Template aus. \\ +  * **{DATE:d.m.Y}** outputs the current date in the entire template. \\ 
-  * Unterteilung des Templates in drei Bereiche:+  * Subdivision of the template in three areas:
    * %%<!--CALENDAR_HEADER_START//--> ... <!--CALENDAR_HEADER_END//-->%%     * %%<!--CALENDAR_HEADER_START//--> ... <!--CALENDAR_HEADER_END//-->%%
    * %%<!--CALENDAR_ENTRY_START//--> ... <!--CALENDAR_ENTRY_END//-->%%     * %%<!--CALENDAR_ENTRY_START//--> ... <!--CALENDAR_ENTRY_END//-->%%
Line 141: Line 143:
<div class="calendar_all"> <div class="calendar_all">
-<p>Datum heute: <b>{DATE:d.m.Y}</b></p> +<p>Date Today: <b>{DATE:d.m.Y}</b></p> 
-<p>Terminausgabe von <b>{TIMEWINDOWSTART:d.m.Y}</b> bis <b>{TIMEWINDOWEND:d.m.Y}</b></p>+<p>The issue date of <b>{TIMEWINDOWSTART:d.m.Y}</b> to <b>{TIMEWINDOWEND:d.m.Y}</b></p>
<!--CALENDAR_HEADER_END//--> <!--CALENDAR_HEADER_END//-->
Line 148: 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 170: 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 177: Line 179:
<div class="calendar_all"> <div class="calendar_all">
-<p>Datum heute: <b>{DATE:d.m.Y}</b></p> +<p>Date Today: <b>{DATE:d.m.Y}</b></p> 
-<p>Terminausgabe von <b>{TIMEWINDOWSTART:d.m.Y}</b> bis <b>{TIMEWINDOWEND:d.m.Y}</b></p>+<p>The issue date of <b>{TIMEWINDOWSTART:d.m.Y}</b> to <b>{TIMEWINDOWEND:d.m.Y}</b></p>
<!--CALENDAR_HEADER_END//--> <!--CALENDAR_HEADER_END//-->
Line 185: 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 195: Line 197:
    <div class="teaser">     <div class="teaser">
      [TITLE]<h2>{TITLE}</h2>[/TITLE]       [TITLE]<h2>{TITLE}</h2>[/TITLE]
-      [PLACE]<p class="place">Ort: {PLACE}</p>[/PLACE]+      [PLACE]<p class="place">Place: {PLACE}</p>[/PLACE]
      [HREF]<div class="other">HREF: {HREF}</div>[/HREF]       [HREF]<div class="other">HREF: {HREF}</div>[/HREF]
      [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]Einleitungstext: <div class="textlong">{TEXT}</div>[/TEXT] +      [TEXT]Teaser text: <div class="textlong">{TEXT}</div>[/TEXT] 
-      [TEXTLONG]Beschreibung: <div class="textlong">{TEXTLONG}</div>[/TEXTLONG]+      [TEXTLONG]Description: <div class="textlong">{TEXTLONG}</div>[/TEXTLONG]
    </div>     </div>
  </div>   </div>
Line 224: Line 226:
===== Download V1.3: ===== ===== Download V1.3: =====
-  * **include/inc_module/mod_calendar/inc/calendar_v13.class.php**  //(Update 18.01.2011 mehrere Änderungen)//+  * **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/inc_script/frontend_render/init_calendar.php** //(Update 18.01.2011)//
-  * **template/calendar/calendar_v13.html** //(Update 18.01.2011 mehrere Änderungen)// +  * **template/calendar/calendar_v13.html** //(Update 18.01.2011 several changes)// 
-  * **template/inc_css/specific/calendar_v13.css** //(Update 18.01.2011 Anpassung an neue Tags)//+  * **template/inc_css/specific/calendar_v13.css** //(Update 18.01.2011 Adaptation to new TAGs)//
Line 238: Line 240:
-===== Download V1.3 komplett: =====+===== Download V1.3 completely: =====
-Das komplette Modul mit allen Dateien. +The complete module with all files.
-Inkl. einer kleine Erweiterung im BE: Monatsbuttons\\+Incl. a small extension in the BE: Month Buttons\\
{{:deutsch:module:kalender:be_liste_head01_de_1.gif|}} {{:deutsch:module:kalender:be_liste_head01_de_1.gif|}}
<note important> <note important>
-**Installation:** Das alte Modul in include/inc_module/mod_calendar muss komplett gelöscht werden, bzw. mit dieser Version überschrieben werden. \\  +**Installation:** The old module in include/inc_module/mod_calendar must completely deleted, or overwrite with this version. \\  
-Bitte nicht den Pfad umbenennen und die alte Version parken, das funktioniert nicht. \\+Please do not rename the path of the old version, that does not work. \\
\\ \\
-**Die bisherige Datei %%"template/inc_script/frontend_render/init-calendar.php"%% löschen oder umbenennen nach %%"init-calendar.php_"%% !!**+**Please delete or rename the previous file %%"template/inc_script/frontend_render/init-calendar.php"%% to %%"init-calendar.php_"%% !!**
</note> </note>
english/modules/calendar/enhanced-v13.1295514822.txt.gz · Last modified: 2018/06/03 18:07 (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