This is an old revision of the document!


Advanced Wysiwyg-Text & image (V1.2)

Added:

  • Wysiwyg Text
  • Thumb with LightBox
  • Link with Thumb
  • TAG for Thumbnail when calling: e.g. WxHxCxQ=150x100x0x80 (WIDTHxHEIGHTxCROPxQUALITY)



Docu: –
Forum: –

Author: K.Heermann (flip-flop) http://planmatrix.de
CMS Version: >= V1.4.2 r348
Version: V1.2 (30.11.2010)
Folder: include/inc_module/mod_calendar/inc/ *
Condition:



Call of the calendar in the frontend

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
}


Template:

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:

template

<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”.


Download V1.2:

  • include/inc_module/mod_calendar/inc/calendar.class.php
  • template/inc_script/frontend_render/init_calendar.php
  • template/calendar/calendar.html
  • template/inc_css/specific/calendar.css

calendar_v12.zip (7.67 KiB, 81 downloads)


Knut Heermann (flip-flop) 2010/11/30 01:37

english/modules/calendar/enhanced-v12.1292631502.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