NAVIGATION
This shows you the differences between two versions of the page.
|
english:navigation:nav_list_ul_parameters [2009/05/13 14:51] Knut Heermann (flip-flop) |
english:navigation:nav_list_ul_parameters [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| **Autor:** K.Heermann (flip-flop) http://planmatrix.de \\ | **Autor:** K.Heermann (flip-flop) http://planmatrix.de \\ | ||
| **CMS-Version:** >= V1.2.7 \\ | **CMS-Version:** >= V1.2.7 \\ | ||
| - | **Version:** -- \\ | + | **CMS-Version:** >= V1.4.4 r387 \\ |
| + | **Version:** 1.1 \\ | ||
| + | **Update:** V1.0 -> V1.1 ab CMS V1.4.4 r387 //(03.12.2009)// \\ | ||
| + | - {NAV_LIST_UL} experimental support for menu items based on articles article added (FA, PA, FPA). Parameter 9 can be used to defined the articlemenu start level depth. | ||
| - | Short declaration: (see also [[:english:navigation:nav_list_ul|NAV_LIST_UL full example css file]]) | + | Short explanation: (see also [[:english:navigation:nav_list_ul|NAV_LIST_UL full example css file]]) |
| Line 22: | Line 25: | ||
| ul_id_name, | ul_id_name, | ||
| wrap_ul_div(0=off, 1=<div>, 2=<div id="">, 3=<div class="navLevel-x">), | wrap_ul_div(0=off, 1=<div>, 2=<div id="">, 3=<div class="navLevel-x">), | ||
| - | wrap_link_text(<em>|</em>)</code> | + | wrap_link_text(<em>|</em>, |
| + | articlemenu_start_level) | ||
| + | </code> | ||
| **Filename:** -- \\ | **Filename:** -- \\ | ||
| Line 32: | Line 37: | ||
| \\ | \\ | ||
| + | ===== Description ===== | ||
| + | **V1.0 < CMS V1.4.4 r386** //(29.11.2009)//\\ | ||
| @string $parameter = | @string $parameter = | ||
| - | "menu_type, start_id, max_level, class_path, class_active, ul_id_name, wrap_ul_div(0 = off, 1 = <div>, 2 = <div id="">, 3 = <div class="navLevel-x">), wrap_link_text(<em>|</em>)" | + | "**menu_type**, **start_id**, **max_level**, **class_path**, **class_active**, **ul_id_name**, **wrap_ul_div**(0 = off, 1 = <div>, 2 = <div id="">, 3 = <div class="navLevel-x">), **wrap_link_text**(<em>|</em>)" |
| - | E.g.: **{NAV_LIST_UL:F, 19, 10, NLU_CSS, NLU_ACT, NLU_ID, 2, <em>|</em>}** (Not a real one). | + | **V1.0 => CMS V1.4.4 r387** //(03.12.2009)// \\ |
| - | | No ^ parameter ^ comment ^ | + | @string $parameter = |
| - | ^ 1 | **menu_type[[F,VCSS,HCSS]P]** | ''- **F** = active path unfolded, \\ | + | "**menu_type**, **start_id**, **max_level**, **class_path**, **class_active**, **ul_id_name**, **wrap_ul_div**(0 = off, 1 = <div>, 2 = <div id="">, 3 = <div class="navLevel-x">), **wrap_link_text**(<em>|</em>), **articlemenu_start_level**" |
| + | |||
| + | E.g.: **{NAV_LIST_UL:F, 19, 10, act_path, active, id, 2, <em>|</em>, 2}** //(Not a real one)//. | ||
| + | |||
| + | |||
| + | | No ^ Exapmple ^ parameter ^ comment ^ | ||
| + | ^ 1 | F | **menu_type[[F,VCSS,HCSS]P]** | ''- **F** = active path unfolded, \\ | ||
| - **VCSS** = vertical, all levels unfolded, add special code for vertical CSS flyout menu, \\ | - **VCSS** = vertical, all levels unfolded, add special code for vertical CSS flyout menu, \\ | ||
| - **HCSS** = horizontal, all levels unfolded, add special code for horizontal CSS flyout menu \\ | - **HCSS** = horizontal, all levels unfolded, add special code for horizontal CSS flyout menu \\ | ||
| - | - **P** = Out put of the parent link and in combination with **F, VCSS, HCSS like FP, VCSSP, HCSSP**. (Sinze V1.3x)'' | | + | - **P** = Output of the parent link and in combination with **F, VCSS, HCSS like FP, VCSSP, HCSSP**. (Sinze V1.3x) \\ |
| - | ^ 2 | **start_id** | Point of start (The ID you see at site structure) | | + | - **B** = Bootstrap compatible rendering (B isn't working together with F) \\ |
| - | ^ 3 | **max_level** | ''From start_id X level deep \\ If max_level = 0 no limitation, max_level=1 limits to the first level - there will be no sub <ul> displayed and so on...'' | | + | - **A** = Output of the article links if article listing mode is active, in combination with **F and P, like FA, PA, FPA**. (since V1.4.4 r387)'' | |
| - | ^ 4 | **class_path** | ''<ul class="**//act_path//**">\\ | + | ^ 2 | 19 | **start_id** | Point of start (The ID you see at site structure) | |
| + | ^ 3 | 10 | **max_level** | ''From start_id X level deep \\ If max_level = 0 no limitation, max_level=1 limits to the first level - there will be no sub <ul> displayed and so on...'' | | ||
| + | ^ 4 | act_path | **class_path** | ''<ul class="**//act_path//**">\\ | ||
| <li ....'' | | <li ....'' | | ||
| - | ^ 5 | **class_active** | ''<ul class="act_path"> \\ | + | ^ 5 | active | **class_active** | ''<ul class="act_path"> \\ |
| <li class="sub_ul act_path **//active//** sub_first"><a href="....</a> \\ | <li class="sub_ul act_path **//active//** sub_first"><a href="....</a> \\ | ||
| <ul class="act_path">'' | | <ul class="act_path">'' | | ||
| - | ^ 6 | **ul_id_name** | individual name for ul_id and li_id | | + | ^ 6 | id | **ul_id_name** | ''**individual name** (ID=Category-ID) **for ul_id and li_id** \\ |
| - | ^ 7 | **wrap_ul_div (** | wrapping a div container around every <ul>.....</ul> | | + | <ul **id="id_12"**> \\ |
| - | ^ - | 0 = off | nothing | | + | <li **id="id_16"** class="sub_no"><a href="....</a></li> \\ |
| - | ^ - | 1 = <div> | ''<ul> \\ | + | <li **id="id_17"** class="sub_ul"><a href="....</a> \\ |
| + | <ul **id="id_14"**> \\ | ||
| + | <li **id="id_24"** class="sub_no"><a href="....</a></li> \\ | ||
| + | </ul>'' | | ||
| + | ^ 7 | 2 | **wrap_ul_div (** | wrapping a div container around every <ul>.....</ul> | | ||
| + | ^ - | | 0 = off | nothing | | ||
| + | ^ - | | 1 = <div> | ''<ul> \\ | ||
| <li class="sub_no"><a href="....</a></li> \\ | <li class="sub_no"><a href="....</a></li> \\ | ||
| <li class="sub_ul"><a href="....</a> \\ | <li class="sub_ul"><a href="....</a> \\ | ||
| Line 60: | Line 81: | ||
| <li class="sub_ul"><a href="....</a> \\ | <li class="sub_ul"><a href="....</a> \\ | ||
| **//<div>//**'' | | **//<div>//**'' | | ||
| - | ^ - | 2 = <div id=""> | ''<ul> \\ | + | ^ - | | 2 = <div id=""> | ''<ul> \\ |
| <li class="sub_no"><a href="....</a></li> \\ | <li class="sub_no"><a href="....</a></li> \\ | ||
| <li class="sub_ul"><a href="....</a> \\ | <li class="sub_ul"><a href="....</a> \\ | ||
| Line 69: | Line 90: | ||
| <ul> \\ | <ul> \\ | ||
| <li ....'' | | <li ....'' | | ||
| - | ^ - | 3 = <div class="navLevel-x"> | ''<div class="navLevel-0"> | + | ^ - | | 3 = <div class="navLevel-x"> | ''<div class="navLevel-0"> |
| <ul> \\ | <ul> \\ | ||
| <li class="sub_no"><a href="....</a></li> \\ | <li class="sub_no"><a href="....</a></li> \\ | ||
| Line 79: | Line 100: | ||
| <ul> \\ | <ul> \\ | ||
| <li ....'' | | <li ....'' | | ||
| - | ^ - | **)** | | | + | ^ - | | **)** | | |
| - | ^ 8 | **wrap_link_text(<em>%%|%%</em>)** | ''<li class="sub_no"><a href="....">**//<em>//**Link Text**//</em>//**</a></li>'' | | + | ^ 8 | <em>%%|%%</em> | **wrap_link_text(<em>%%|%%</em>)** | ''<li class="sub_no"><a href="....">**//<em>//**Link Text**//</em>//**</a></li>'' | |
| - | ^ xx | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | | | + | ^ 9 | 2 | **articlemenu_start_level** | ''<li class="asub_no //[asub_first] [active]//>"<a href="...."></li>'' \\ //(beginning of the article link output starting from the second level)// //(since v1.4.4 r387 (03.12.2009))// | |
| + | ^ xx | | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | | | ||
| => And several combinations of this reproduced stuff. | => And several combinations of this reproduced stuff. | ||
| + | =====More possibilities===== | ||
| + | |||
| + | <code>{NAV_LIST_UL:P,0,,current|menu responsive-menu,current}</code> | ||
| + | |||
| + | to achieve something like | ||
| + | |||
| + | <code> | ||
| + | <ul class="menu responsive-menu"> | ||
| + | <li class="sub_parent current"><a href="index.php?index" title="Home">Home</a></li> | ||
| + | <li class="sub_no sub_first"><a href="index.php?kontakt" title="Kontakt">Kontakt</a></li> | ||
| + | <li class="sub_no sub_last"><a href="index.php?impressum" title="Impressum">Impressum</a></li> | ||
| + | </ul> | ||
| + | </code> | ||
| + | |||
| + | to handle more than one class in a responsive menu (responsive is the new gimmick, you know ;) ) | ||
| + | |||
| + | ===== Spicy! ===== | ||
| + | ''articlemenu_start_level|articlemenu_list_image_size (WxHxCROP OR WxHxCROP)|articlemenu_use_text (take text from: description:MAXLEN OR menutitle:MAXLEN OR teaser:MAXLEN OR teaser:HTML)|articlemenu_position (inside|outside)|<custom>[TEXT]{TEXT}[/TEXT][IMAGE]<img src="{IMAGE}" alt="{IMAGE_NAME}">[/IMAGE]</custom>'' | ||