NAVIGATION
This shows you the differences between two versions of the page.
|
deutsch:module:kalender:erweitert-v11 [2010/11/29 02:01] Knut Heermann (flip-flop) |
deutsch:module:kalender:erweitert-v11 [2018/06/03 18:08] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{indexmenu_n>10}} | {{indexmenu_n>10}} | ||
| - | ====== Erweitert Wysiwyg-Text u. Bild ====== | + | ====== Erweitert Wysiwyg-Text u. Bild (V1.1) ====== |
| - | Hinzugefügt: Wysiwyg Text und Thumb mit LighBox | + | **Hinzugefügt:** |
| - | Vorschaubild TAG beim Aufruf: z.B. ##WxHxCxQ=150x100x0x80## //(WIDTHxHEIGHTxCROPxQUALITY)// | + | * Wysiwyg Text |
| + | * Thumb mit LightBox | ||
| + | * TAG für Vorschaubild beim Aufruf: z.B. ##WxHxCxQ=150x100x0x80## //(WIDTHxHEIGHTxCROPxQUALITY)// | ||
| + | \\ | ||
| + | ---- | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | Docu: -- \\ | ||
| + | Forum: -- | ||
| + | |||
| + | **Autor:** K.Heermann (flip-flop) http://planmatrix.de \\ | ||
| + | **CMS Version:** >= V1.4.2 r348 \\ | ||
| + | **Version:** V1.1 //(29.11.2010)// \\ | ||
| + | **Verzeichnis:** include/inc_module/mod_calendar/inc/ * \\ | ||
| + | **Bedingung:** -- | ||
| + | |||
| + | |||
| + | ---- | ||
| + | \\ | ||
| **TAG-Set:** | **TAG-Set:** | ||
| Line 35: | Line 55: | ||
| </code> | </code> | ||
| - | Die Ausführung der **LightBox** wird im Termin durch den Schalter **[x] LightBox** gesteuert. | + | <code html |h template |h > |
| + | <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> | ||
| + | </code> | ||
| + | |||
| + | Die Ausführung der **LightBox** wird im Termin durch den Schalter **[x] LightBox** gesteuert. \\ | ||
| [x] Klick vergrößern ist ohne Funktion. | [x] Klick vergrößern ist ohne Funktion. | ||
| - | Die Bilder werden über das Verfahren "cmsimage" geladen. | + | Technik: Die Bilder werden über das Verfahren "cmsimage" geladen. |
| \\ | \\ | ||
| Line 58: | Line 104: | ||
| $items[$key] = render_cnt_template($items[$key], 'IMAGE_CALENDAR', $this->image_calendar($date)); | $items[$key] = render_cnt_template($items[$key], 'IMAGE_CALENDAR', $this->image_calendar($date)); | ||
| </code> | </code> | ||
| + | \\ | ||
| + | nach (etwa Zeile 141) | ||
| + | <file> | ||
| + | $default['href'] = empty($match['href']) ? '' : trim($match['href']); | ||
| + | </file> | ||
| + | folgendes einfügen | ||
| + | <code php> | ||
| + | // +KH: We want to set the size of the image, and such more in the reptag. | ||
| + | $default['WxHxCxQ'] = empty($match['WxHxCxQ']) ? '' : preg_replace('/[^0-9x]/', '', trim($match['WxHxCxQ'])); | ||
| + | </code> | ||
| + | |||
| + | \\ | ||
| + | |||
| + | nach (etwa Zeile 154) | ||
| + | <file> | ||
| + | $default['tagmode'] = 'OR'; | ||
| + | </file> | ||
| + | folgendes einfügen | ||
| + | <code php> | ||
| + | // +KH: We want to set the size of the image, and such more in the reptag. | ||
| + | $default['WxHxCxQ'] = '120x120x0x90'; | ||
| + | </code> | ||
| + | |||
| + | \\ | ||
| + | |||
| + | nach (etwa Zeile 209) | ||
| + | <file> | ||
| + | $this->limit = $default['items']; | ||
| + | $this->href = $default['href']; | ||
| + | </file> | ||
| + | folgendes einfügen | ||
| + | <code php> | ||
| + | $this->WxHxCxQ = $default['WxHxCxQ']; // +KH 28.11.10 | ||
| + | </code> | ||
| + | |||
| + | |||
| + | |||
| \\ | \\ | ||
| Line 81: | Line 164: | ||
| folgende Funktion einfügen | folgende Funktion einfügen | ||
| - | <code php> | + | <code php |h image_calendar|h > |
| /** | /** | ||
| * ======================================= | * ======================================= | ||
| Line 130: | Line 213: | ||
| } // ===== END function image_calendar | } // ===== END function image_calendar | ||
| </code> | </code> | ||
| + | |||
| + | \\ | ||
| + | |||
| + | ===== Download V1.1: ===== | ||
| + | |||
| + | * 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 | ||
| + | |||
| + | |||
| + | |||
| + | {{:deutsch:module:kalender:calendar_v11.zip|}} | ||
| + | |||
| + | |||
| \\ | \\ | ||
| --- //[[flip-flop@myrealbox.com|Knut Heermann (flip-flop)]] 2010/11/29 01:37// | --- //[[flip-flop@myrealbox.com|Knut Heermann (flip-flop)]] 2010/11/29 01:37// | ||