Differences

This shows you the differences between two versions of the page.

english:navigation:nav_list_ul_parameters [2009/05/24 07:22]
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, act_path, active, id, 2, <em>|</em>}** (Not a real one).+**V1.0 => CMS V1.4.4 r387** //(03.12.2009)// \\ 
 +@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>), **articlemenu_start_level**" 
 + 
 +E.g.: **{NAV_LIST_UL:F, 19, 10, act_path, active, id, 2, <em>|</em>, 2}** //(Not a real one)//.
Line 44: Line 55:
                                        - **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) \\ 
 +                                        -    **B** = Bootstrap compatible rendering (B isn't working together with F) \\ 
 +                                        -    **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)''          |
^ 2    | 19       | **start_id**                     | Point of start (The ID you see at site structure)        | ^ 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...''                   | ^ 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...''                   |
Line 52: Line 65:
                                 <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    | id       | **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** \\       
 +                                        <ul **id="id_12"**> \\  
 +                                        <li **id="id_16"** class="sub_no"><a href="....</a></li> \\  
 +                                        <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>        | ^ 7    | 2        | **wrap_ul_div (**                | wrapping a div container around every <ul>.....</ul>        |
^ -    |          | 0 = off                      | nothing        | ^ -    |          | 0 = off                      | nothing        |
Line 83: Line 102:
^ -    |          | **)**                            |         | ^ -    |          | **)**                            |         |
^ 8    | <em>%%|%%</em> | **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>''        |
 +^ 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 |         | ^ 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>''
english/navigation/nav_list_ul_parameters.1243142567.txt.gz · Last modified: 2018/06/03 18:08 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0