NAVIGATION
This shows you the differences between two versions of the page.
|
deutsch:navigationen:nav-rowx [2011/01/05 12:17] Knut Heermann (flip-flop) |
deutsch:navigationen:nav-rowx [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ====== NAV_ROWX ====== | ====== NAV_ROWX ====== | ||
| - | **RT NAV_ROW ausgelager nach %%/frontend_render/*%% und erweitert um das "title" Atribut mit dem Inhalt aus "Seitentitel:" zu erzeugen.** | + | **RT NAV_ROW ausgelager nach "%%/frontend_render/*%%" und erweitert um das "title" Atribut mit dem Inhalt aus "Seitentitel:" zu erzeugen.** |
| Line 17: | Line 17: | ||
| **Version:** V1.0 \\ | **Version:** V1.0 \\ | ||
| - | |||
| - | <div class="nav-row-vert01">{NAV_ROWX:CURRENT:1}</div> | ||
| Tag: **{NAV_ROWX:...}** (Parameter wie in [[http://www.phpwcms-docu.de/navigations_tags_.phtml|Replacement Tags für die Navigation]] beschrieben) | Tag: **{NAV_ROWX:...}** (Parameter wie in [[http://www.phpwcms-docu.de/navigations_tags_.phtml|Replacement Tags für die Navigation]] beschrieben) | ||
| + | |||
| + | Einige Einstellungen zur Ausgabe können in der Datei "config/phpwcms/conf.template_default.inc.php" unter | ||
| + | <file> | ||
| + | // row based navigation | ||
| + | $template_default['nav_row'] .... | ||
| + | </file> | ||
| + | vorgenommen werden. | ||
| + | |||
| + | \\ | ||
| Dateiname: **rt_nav_row_x.php** | Dateiname: **rt_nav_row_x.php** | ||
| Line 33: | Line 40: | ||
| ---- | ---- | ||
| ---- | ---- | ||
| + | \\ | ||
| ==== Quelltext ==== | ==== Quelltext ==== | ||
| + | |||
| + | Update: 11.01.11 KH | ||
| <code php |h rt_nav_row_x |h > | <code php |h rt_nav_row_x |h > | ||
| Line 42: | Line 52: | ||
| ********************************************************************************************* | ********************************************************************************************* | ||
| * 05.01.11 KH: http://planmatrix.de V1.0 | * 05.01.11 KH: http://planmatrix.de V1.0 | ||
| + | * 11.01.11 KH: Update | ||
| * NAV_ROW small enhanced for alt and title text | * NAV_ROW small enhanced for alt and title text | ||
| - | * Cat out and enhanced navigation NAV_ROW from "include"inc_front"front.func.inc.php | + | * Cut out and enhanced navigation NAV_ROW from "include"inc_front"front.func.inc.php |
| * line 644 function nav_level_row(..... | * line 644 function nav_level_row(..... | ||
| - | * | + | * TAG: {NAV_ROWX:...} like described in the docu. |
| ********************************************************************************************* | ********************************************************************************************* | ||
| */ | */ | ||
| Line 91: | Line 102: | ||
| // +KH 05.01.11 title | // +KH 05.01.11 title | ||
| $nav .= '"'.(empty($GLOBALS['content']['struct'][$act_cat_id]['acat_pagetitle']) ? '' : ' title="'.$GLOBALS['content']['struct'][$act_cat_id]['acat_pagetitle'].'"'); | $nav .= '"'.(empty($GLOBALS['content']['struct'][$act_cat_id]['acat_pagetitle']) ? '' : ' title="'.$GLOBALS['content']['struct'][$act_cat_id]['acat_pagetitle'].'"'); | ||
| + | |||
| $nav .= (empty($GLOBALS['content']['struct'][$act_cat_id]["acat_class"]) ? '' : ' class="'.$GLOBALS['content']['struct'][$act_cat_id]["acat_class"].'"').'>'.$direct_before; | $nav .= (empty($GLOBALS['content']['struct'][$act_cat_id]["acat_class"]) ? '' : ' class="'.$GLOBALS['content']['struct'][$act_cat_id]["acat_class"].'"').'>'.$direct_before; | ||
| $nav .= html_specialchars($GLOBALS['content']['struct'][$act_cat_id]['acat_name']); | $nav .= html_specialchars($GLOBALS['content']['struct'][$act_cat_id]['acat_name']); | ||
| Line 107: | Line 118: | ||
| $class = empty($GLOBALS['content']['struct'][$key]["acat_class"]) ? '' : ' class="'.$GLOBALS['content']['struct'][$key]["acat_class"].'"'; | $class = empty($GLOBALS['content']['struct'][$key]["acat_class"]) ? '' : ' class="'.$GLOBALS['content']['struct'][$key]["acat_class"].'"'; | ||
| + | // +KH 05.01.11 title | ||
| + | $class .= (empty($GLOBALS['content']['struct'][$key]['acat_pagetitle']) ? '' : ' title="'.$GLOBALS['content']['struct'][$key]['acat_pagetitle'].'"'); | ||
| if($nav) { | if($nav) { | ||