NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms-system:article:contentparts:register-tabs:mootools-nutabs [2010/02/21 10:50] Knut Heermann (flip-flop) |
english:phpwcms-system:article:contentparts:register-tabs:mootools-nutabs [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| A brief description of how to create tabs with the variant [[http://mootools.net/shell/oskar/dvaXj/|nuTabs]] //(MooTools V1.2x)//. | A brief description of how to create tabs with the variant [[http://mootools.net/shell/oskar/dvaXj/|nuTabs]] //(MooTools V1.2x)//. | ||
| - | The use of these [[http://mootools.net/shell/oskar/dvaXj/|MooTool Tabs]] is possible only through the use of this frontend_init-script: | + | The use of these [[http://mootools.net/shell/oskar/dvaXj/|MooTool Tabs]] is possible only in combination with this frontend_init-script: |
| [[english/phpwcms_replacer_rts/frontend_init/cp_trigger/sort-of-areas#php_script_v1.3]] | [[english/phpwcms_replacer_rts/frontend_init/cp_trigger/sort-of-areas#php_script_v1.3]] | ||
| Line 28: | Line 28: | ||
| **Author:** Claus (claus) //2010/02/20 // \\ | **Author:** Claus (claus) //2010/02/20 // \\ | ||
| + | **Author:** K.Heermann (flip-flop) http://planmatrix.de //2010/02/20 // \\ | ||
| **CMS version:** >= V1.44 r388\\ | **CMS version:** >= V1.44 r388\\ | ||
| **Version:** V1.0 \\ | **Version:** V1.0 \\ | ||
| Line 38: | Line 39: | ||
| Folder: ** /template/lib/mootools/plugin-1.2/ ** | Folder: ** /template/lib/mootools/plugin-1.2/ ** | ||
| - | Filename: **tab_sort_section_moto_nutabs.tmpl** \\ | + | Filename: **tab_sort_section_moto_nutabs_v13.tmpl** \\ |
| Folder: ** /template/inc_cntpart/tabs/ ** | Folder: ** /template/inc_cntpart/tabs/ ** | ||
| Line 46: | Line 47: | ||
| <note> | <note> | ||
| - | Download: {{:english:phpwcms-system:article:contentparts:register-tabs:tab_sort_section_moto_nutabs_v13.zip|MooTools V1.2x nuTabs - JS, tmpl, CSS}} | + | Download: {{:english:phpwcms-system:article:contentparts:register-tabs:tab_sort_section_moto_nutabs_v13.zip|MooTools V1.2x nuTabs-V1.3 - JS, tmpl, CSS}} |
| \\ | \\ | ||
| - | \\ | ||
| - | |||
| **PHP:** [[deutsch/ersetzer_rts/frontend_init/cp_trigger/sort-section#php_script_v1.3]] //(Sorting of (template) areas)// | **PHP:** [[deutsch/ersetzer_rts/frontend_init/cp_trigger/sort-section#php_script_v1.3]] //(Sorting of (template) areas)// | ||
| Line 65: | Line 63: | ||
| ~~UP~~ | ~~UP~~ | ||
| - | ===== Beschreibung ===== | + | ===== Documentation ===== |
| - | **1.** Update auf die jüngste Version | + | **1.** Update to the latest version |
| - | * [[http://code.google.com/p/phpwcms/source/list|>= phpwcms version 1.4.4, rev 388, 2009/12/06]] oder | + | * [[http://code.google.com/p/phpwcms/source/list|>= phpwcms version 1.4.4, rev 388, 2009/12/06]] or |
| - | * [[http://www.phpwcms-docu.de/download-dev-versionen.phtml|DEV - Version im ZIP Format]]! \\ | + | * [[http://www.phpwcms-docu.de/download-dev-versionen.phtml|DEV - Version in ZIP Format]]! \\ |
| - | * Prüfe die neuen Konfigurationsvariablen in der **config.inc.php** | + | * Check the new configuration in **config.inc.php** |
| - | **2.** Login und gehe nach ADMIN -> Vorlagen - begutachte die neuen Optionen | + | **2.** Login and go to ADMIN → template - evaluate the new options |
| - | * Wähle **mootols 1.2** | + | * Select **mootols 1.2** |
| **3.** Installation: | **3.** Installation: | ||
| - | * Erstelle aus den drei folgenden Texten die drei angegebenen Dateien in den angegebenen Verzeichnissen. | + | * Create with the following three texts the three specified files in the specified directories |
| - | * Installiere **PHP:** [[deutsch/ersetzer_rts/frontend_init/cp_trigger/sort-section#php_script_v1.3]] | + | * Install [[english/phpwcms_replacer_rts/frontend_init/cp_trigger/sort-of-areas#php_script_v1.3]] //(Sorting of (template) areas)// |
| - | **4.** Im Gebrauch: | + | **4.** In use: |
| - | * Fülle einen CP Register/Tabs mit deinen Einträgen //(Siehe Beispiel oben)//. | + | * Fill a CP register / tabs with your entries //(See example above)//. |
| - | * Wähle als Vorlage: **tab_sort_section_moto_nutabs.tmpl** | + | * Choose the template: **tab_sort_section_moto_nutabs_v13.tmpl** |
| - | * Sichern und das Ergebnis im FE ansehen :-) | + | * Save and watch the result in the FE :-) |
| \\ | \\ | ||
| Line 93: | Line 91: | ||
| ==== JavaScript ==== | ==== JavaScript ==== | ||
| - | **Datei:** /template/lib/mootools/plugin-1.2/mootools.nuTabs.js | + | **File** /template/lib/mootools/plugin-1.2/mootools.nuTabs.js |
| - | **Änderungen:** | + | **changes:** |
| * Elements.implement({ ..... | * Elements.implement({ ..... | ||
| * window.addEvent('domready', function(e) { .... | * window.addEvent('domready', function(e) { .... | ||
| - | - in die Datei **/template/inc_cntpart/tabs/tab_sort_section_moto_nutabs.tmpl** verschoben. | + | - was moved into the file **/template/inc_cntpart/tabs/tab_sort_section_moto_nutabs_v13.tmpl**. |
| <code js |h mootools.nuTabs.js |h > | <code js |h mootools.nuTabs.js |h > | ||
| Line 208: | Line 206: | ||
| ==== Template ==== | ==== Template ==== | ||
| - | **Datei:** /template/inc_cntpart/tabs/tab_sort_section_moto_nutabs.tmpl | + | **File:** /template/inc_cntpart/tabs/tab_sort_section_moto_nutabs_v13.tmpl |
| <note> | <note> | ||
| - | Schau dir bitte auch das neue **[TABTITLE_ELSE]** Sektionskommando an. \\ | + | Please also check out the new section command **[TABTITLE_ELSE]**. \\ |
| //([[http://code.google.com/p/phpwcms/source/detail?r=372]])// \\ | //([[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. | + | If an empty or alternative title is needed, use a simple "-" in the CP register. Now the contents of [TABTITLE_ELSE] is entered. |
| </note> | </note> | ||
| - | <code html |h tab_sort_section_moto_nutabs.tmpl |h > | + | <code html |h tab_sort_section_moto_nutabs_v13.tmpl |h > |
| /** | /** | ||
| ******************************************************************** | ******************************************************************** | ||
| Line 345: | Line 343: | ||
| ==== CSS ==== | ==== CSS ==== | ||
| - | Beispiel aus dem [[http://mootools.net/shell/oskar/dvaXj/|mootools nuTabs]] | + | Example from [[http://mootools.net/shell/oskar/dvaXj/|mootools nuTabs]] |
| - | **Datei:** template/inc_css/specific/mootools/nuTabs.css | + | **File:** template/inc_css/specific/mootools/nuTabs.css |
| <code css|h nuTabs.css |h> | <code css|h nuTabs.css |h> | ||
| body { | body { | ||