NAVIGATION
This shows you the differences between two versions of the page.
|
english:modules:calendar:enhanced-v13 [2011/01/20 09:40] Knut Heermann (flip-flop) created |
english:modules:calendar:enhanced-v13 [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| FIXME Translate | FIXME Translate | ||
| - | ====== Erweitert Wysiwyg-Text u. Bild (V1.3) ====== | + | ====== Advanced Wysiwyg-Text & image (V1.3) ====== |
| - | **Hinzugefügt:** | + | **Added:** |
| * Wysiwyg Text | * Wysiwyg Text | ||
| - | * Thumb mit LightBox | + | * Thumb with LightBox |
| - | * Link mit Thumb | + | * Link with thumb |
| - | * TAG: für Vorschaubild beim Aufruf: z.B. ##WxHxCxQ=150x100x0x80## //(WIDTHxHEIGHTxCROPxQUALITY)// | + | * TAG-Control: for Thumbnail when calling: e.g. ##WxHxCxQ=150x100x0x80## //(WIDTHxHEIGHTxCROPxQUALITY)// |
| - | * TAG: Ganztägig %%[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] //(zeigt die vergangenen Termine im Zeitfenster wenn möglich)// | + | * TAG-Control: show_past=0|1 [off|on] //(shows the recent events in the time window if possible)// |
| - | * date_start=+-XX Tage //(Startdatum des Zeitfensters relativ zum aktuellen Tag)// | + | * TAG-Control: date_start=+-XX Tage //(Start date of the time window relative to the current day)// |
| - | * Teilt das Template in drei Bereiche auf %%<!--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- und ENDdatum des Zeitfensters verfügbar in HEADER/FOOTER)// | + | * TAG-Template: {TIMEWINDOWSTART:d.m.Y}, {TIMEWINDOWEND:d.m.Y} //(Start- and end dates of the time window available)// |
| - | * TAG: {DATE:d.m.Y} //(Datum des aktuellen Tages)// | + | * TAG-Template: {DATE:d.m.Y} //(Date of the current day)// |
| - | * TAG: Aktueller Tag %%[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 25: | Line 27: | ||
| \\ | \\ | ||
| - | **Geändert:** //(18.01.2011)// | + | **Changed:** //(18.01.2011)// |
| - | * Name der php Klasse von %%"calender.class.php"%% nach %%"calender_v13.class.php"%% in %%"include/inc_module/mod_calendar/inc/"%% | + | * Name of the php class changed from %%"calender.class.php"%% to %%"calender_v13.class.php"%% at %%"include/inc_module/mod_calendar/inc/"%% |
| - | * Name der CSS-Datei von %%"calender.css"%% nach %%"calender_v13.css"%% in %%"template/inc_css/specific/"%% | + | * Name of the CSS file changed from %%"calender.css"%% to %%"calender_v13.css"%% at %%"template/inc_css/specific/"%% |
| - | * Name der Template-Datei von %%"my_dates_list_de.html"%% nach %%"calender_v13.html"%% in %%"template/calendar/"%% | + | * Name of the template file changed from %%"my_dates_list_de.html"%% to %%"calender_v13.html"%% at %%"template/calendar/"%% |
| - | * Aufruf der beiden o.g. Dateien in der Datei %%"init_calendar.php"%% in %%"template/inc_script/frontend_render/"%% | + | * Calling the two above Files in the file %%"init_calendar.php"%% at %%"template/inc_script/frontend_render/"%% |
| \\ | \\ | ||
| Line 38: | Line 40: | ||
| Forum: -- | Forum: -- | ||
| - | **Autor:** K.Heermann (flip-flop) http://planmatrix.de \\ | + | **Author:** K.Heermann (flip-flop) http://planmatrix.de \\ |
| **CMS Version:** >= V1.4.2 r348 \\ | **CMS Version:** >= V1.4.2 r348 \\ | ||
| **Version:** V1.2 //(30.11.2010)// \\ | **Version:** V1.2 //(30.11.2010)// \\ | ||
| **Update:** V1.2a //(04.01.2011)// \\ | **Update:** V1.2a //(04.01.2011)// \\ | ||
| - | **Update:** V1.2a Dateinamen geändert //(08.01.2011)// \\ | + | **Update:** V1.2a filename changed //(08.01.2011)// \\ |
| - | **Update:** V1.3 mehrere Erweiterungen //(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/ * \\ |
| - | **Bedingung:** -- | + | **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~~ | ||
| - | ===== Aufruf des Kalenders im Frontend ===== | + | ===== Call of the calendar in the frontend ===== |
| - | In einem CP HTML oder "Einfacher Text" wird folgendes **TAG-Set:** eingetragen: | + | Pleaser enter into a CP HTML or “plain text” this TAG-Set: |
| 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 oder TODAY oder -15 | + | date_start=01.01.2011 or 01.01.2011 12:33 or TODAY or 0 or -15 |
| - | date_end=31.12.2011 oder TODAY oder 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 76: | Line 78: | ||
| \\ | \\ | ||
| - | **Kalenderzeitfenster:** | + | **Calendar time window:** |
| - | wird mit **date_start** und **date_end** eingestellt. | + | is set with **date_start** and **date_end**. |
| - | Die Werte können sein: | + | The values can be: |
| - | * Ein **Datum** z.B. **03.02.2011** | + | * A **Date** e.g. **03.02.2011** |
| - | * Das Wort **TODAY** für den aktuellen Tag //(gleitendes Zeitfenster)// | + | * The word **TODAY** for the current day and time //(sliding time window)// |
| - | * Die Angabe von Anzahl XX Tagen vom aktuellen Datum aus betrachtet: z.B. **15** oder **-20** | + | * The indication of the number XX days from current date viewed: e.gg **15** or **-20** |
| - | * Z.B. könnte ein gleitendes Zeitfenster beginnen bei | + | * E.g. a sliding time window could be starting at |
| * **date_start=TODAY** | * **date_start=TODAY** | ||
| - | * und zeigt immer die nächsten 30 Tage ab dem Startdatum | + | * 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%% | ||
| \\ | \\ | ||
| **show_past=1|0** | **show_past=1|0** | ||
| - | Mit diesem Wert wird bestimmt ob vergangene Termine angezeigt werden oder nicht. \\ | + | This value determines whether or not to show past appointments. \\ |
| - | Die Ausgabe **(show_past=1)** macht nur Sinn wenn entweder ein statisches Zeitfenster (**date_start=01.06.2011** und **date_start=31.12.2011**) oder ein gleitendes Zeitfenster mit Vorlauf zum aktuellen Datum (**date_start=-15** und **date_start=30**) eingestellt ist. | + | 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. |
| \\ | \\ | ||
| 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> | ||