NAVIGATION
Added:
Changed: (08.01.2011)
Docu: –
Forum: –
Author: K.Heermann (flip-flop) http://planmatrix.de
CMS Version: >= V1.4.2 r348
Version: V1.2 (30.11.2010)
Update: V1.2a (04.01.2011)
Update: V1.2a filename chnaged (08.01.2011)
Folder: include/inc_module/mod_calendar/inc/ *
Condition: –
Pleaser enter into a CP HTML or “plain text” this TAG-Set:
{CALENDAR: items=10 template=my_dates_list_de.html lang=de tag=tag1, tag2 tagmode=OR date_start=01.01.2010 date_end=31.12.2010 href=index.php?ebene06 WxHxCxQ=150x100x0x80 }
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]
Example:
<div class="calendar"> <div class="left"> <div class="date"> <p><strong>Startdatum: {STARTDATE:d.m.}</strong><strong class="year">{STARTDATE:Y}</strong></p> <p><strong>Enddatum: {ENDDATE:d.m.}</strong><strong class="year">{ENDDATE:Y}</strong></p> </div> </div> <div class="detail"> <div class="image"> [IMAGE_CALENDAR]{IMAGE_CALENDAR}[/IMAGE_CALENDAR] </div> <div class="teaser"> [TITLE]<h2>{TITLE}</h2>[/TITLE] [PLACE]<p class="place">Ort: {PLACE}</p>[/PLACE] [HREF]<div class="other">HREF: {HREF}</div>[/HREF] [URL]<div class="other">URL: {URL}[TARGET]{TARGET}[/TARGET]</div>[/URL] [TEXT]<div class="textlong">{TEXT}</div>[/TEXT] [TEXTLONG]<div class="textlong">{TEXTLONG}</div>[/TEXTLONG] </div> </div> <div style=clear:both;"><!--nop//--></div> </div>
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”.
In template/calendar/TemplateName.html
Adds to template V1.2: [ALLDAY] . . . [/ALLDAY] - [ALLDAY_ELSE] . . . [/ALLDAY_ELSE] to turn on/off specific entries for the switch “All Day”.
[ALLDAY] . . . [/ALLDAY] [ALLDAY_ELSE] . . . [/ALLDAY_ELSE]
Example:
<div class="calendar"> <div class="left"> <div class="date"> <p><strong>[ALLDAY]Datum: [/ALLDAY][ALLDAY_ELSE]Start date: [/ALLDAY_ELSE] {STARTDATE:d.m.}</strong><strong class="year">{STARTDATE:Y}</strong></p> [ALLDAY_ELSE]<p><strong>End date: {ENDDATE:d.m.}</strong><strong class="year">{ENDDATE:Y}</strong></p>[/ALLDAY_ELSE] </div> </div> <div class="detail"> <div class="image"> [IMAGE_CALENDAR]{IMAGE_CALENDAR}[/IMAGE_CALENDAR] </div> <div class="teaser"> [TITLE]<h2>{TITLE}</h2>[/TITLE] [PLACE]<p class="place">Location: {PLACE}</p>[/PLACE] [HREF]<div class="other">HREF: {HREF}</div>[/HREF] [URL]<div class="other">URL: {URL}[TARGET]{TARGET}[/TARGET]</div>[/URL] [TEXT]<div class="textlong">{TEXT}</div>[/TEXT] [TEXTLONG]<div class="textlong">{TEXTLONG}</div>[/TEXTLONG] </div> </div> <div style="clear:both;"><!--nop//--></div> </div>
calendar_v12.zip (7.67 KiB, 93 downloads)
Update 04.01.2011: With the TAG All Day [ALLDAY]…[/ALLDAY] :
calendar_v12a.zip (7.77 KiB, 80 downloads)
The complete module with all files.
<note important>
Installation: The old module in “include/inc_module/mod_calendar” must be deleted completly, or overwrite with this version.
Please do not rename the path of the old version for parking, that does not work.
Delete the previous file "template/inc_script/frontend_render/init-calendar.php" or rename it to "init-calendar.php_" !!
</note>
Update 04.01.2011: With the TAG All Day [ALLDAY]…[/ALLDAY] :
mod_calendar_v12a_all.zip (48.54 KiB, 93 downloads)
— Knut Heermann (flip-flop) 2010/11/30 01:37