NAVIGATION
This shows you the differences between two versions of the page.
deutsch:phpwcms-system:artikel:contentparts:register-tabs:simple-tabs [2009/12/26 19:16] Knut Heermann (flip-flop) |
deutsch:phpwcms-system:artikel:contentparts:register-tabs:simple-tabs [2018/06/03 18:08] (current) |
||
---|---|---|---|
Line 30: | Line 30: | ||
**CMS version:** >= V1.44 r388\\ | **CMS version:** >= V1.44 r388\\ | ||
**Version:** V1.0 \\ | **Version:** V1.0 \\ | ||
- | **Update:** -- \\ | + | **Update:** 26.01.10 by MP (pepe) - [[http://phpwcms-templates.de]] Manfred Peperkorn \\ |
+ | - Für eine bessere Integration von CPs und Artikeln mit dem Tag {SHOW_CONTENT:....} \\ | ||
**Tag:** -- | **Tag:** -- | ||
Line 256: | Line 257: | ||
}); | }); | ||
</code> | </code> | ||
+ | |||
+ | \\ | ||
==== Template ==== | ==== Template ==== | ||
**Datei:** /template/inc_cntpart/tabs/simpletabs01.tmpl | **Datei:** /template/inc_cntpart/tabs/simpletabs01.tmpl | ||
+ | |||
+ | <note> | ||
+ | Schau dir bitte auch das neue **[TABTITLE_ELSE]** Sektionskommando an. \\ | ||
+ | //([[http://code.google.com/p/phpwcms/source/detail?r=372]])// \\ | ||
+ | Wenn ein leerer oder alternativer Titel gebraucht wird, verwende einen einfachen "-" im CP Register. Nun wird der Inhalt aus [TABTITLE_ELSE] eingetragen. | ||
+ | |||
+ | </note> | ||
+ | |||
+ | **Update:** 26.01.10 by MP (pepe) - [[http://phpwcms-templates.de]] Manfred Peperkorn \\ | ||
+ | - Für eine bessere Integration von CPs und Artikeln mit dem Tag {SHOW_CONTENT:....} | ||
+ | |||
+ | <code html>selector: \'h3\' --> selector: \'h3.moo_registerTab\'</code> | ||
+ | |||
+ | <code html><h3 title="{TABTITLE}">{TABTITLE}</h3> --> <h3 class="moo_registerTab" title="{TABTITLE}">{TABTITLE}</h3></code> | ||
+ | |||
+ | <code html><h3 title="TabElse">TabElse</h3> --> <h3 class="moo_registerTab" title="TabElse">TabElse</h3></code> | ||
+ | |||
+ | |||
+ | |||
<code html |h simpletabs01.tmpl |h > | <code html |h simpletabs01.tmpl |h > | ||
Line 267: | Line 289: | ||
26.12.09 KH (flip-flop) - http://planmatrix.de Knut Heermann | 26.12.09 KH (flip-flop) - http://planmatrix.de Knut Heermann | ||
- | + | 26.01.10 Update: MP (pepe) - [[http://phpwcms-templates.de]] Manfred Peperkorn | |
+ | selector: \'h3\' -> selector: \'h3.moo_registerTab\' | ||
+ | <h3 title="{TABTITLE}">{TABTITLE}</h3> -> <h3 class="moo_registerTab" title="{TABTITLE}">{TABTITLE}</h3> | ||
+ | <h3 title="TabElse">TabElse</h3> -> <h3 class="moo_registerTab" title="TabElse">TabElse</h3> | ||
+ | --- | ||
Corresponding with the file /template/inc_css/specific/reg_tabs_simpletabs01.css | Corresponding with the file /template/inc_css/specific/reg_tabs_simpletabs01.css | ||
Uses the js file lib/mootools/plugin-1.2/mootools.SimpleTabs.js | Uses the js file lib/mootools/plugin-1.2/mootools.SimpleTabs.js | ||
Line 301: | Line 327: | ||
var tabs = new SimpleTabs(\'simpletabs\', { | var tabs = new SimpleTabs(\'simpletabs\', { | ||
- | selector: \'h3\' | + | selector: \'h3.moo_registerTab\' |
}); | }); | ||
Line 316: | Line 342: | ||
<!--TABS_ENTRY_START//--> | <!--TABS_ENTRY_START//--> | ||
[TABTITLE] | [TABTITLE] | ||
- | <h3 title="{TABTITLE}">{TABTITLE}</h3> | + | <h3 class="moo_registerTab" title="{TABTITLE}">{TABTITLE}</h3> |
[/TABTITLE] | [/TABTITLE] | ||
[TABTITLE_ELSE] | [TABTITLE_ELSE] | ||
- | <h3 title="TabElse">TabElse</h3> | + | <h3 class="moo_registerTab" title="TabElse">TabElse</h3> |
[/TABTITLE_ELSE] | [/TABTITLE_ELSE] | ||
[TABCONTENT] | [TABCONTENT] |