[UPDATE 06/11/10]
Hi jsw_nz,
I hope it´s the right for you. The menu shows the category and subcategory.
Code: Select all
Home
+ THEORY -> {NAV_LIST_ALL_DIV1:1:0:0:1:1}
++ THEORY_sub1
++ THEORY_sub2
+++ THEORY_sub2_1
+++ THEORY_sub2_2 -> (active link)
+ PRACTICE -> {NAV_LIST_ALL_DIV1:2:0:0:1:1}
++ PRACTICE_sub1
++ PRACTICE_sub2
+ CODE -> {NAV_LIST_ALL_DIV1:3:0:0:1:1}
++ CODE_sub1
++ CODE_sub2
I have expanded the NAV_LIST_ALL a little bit.
It is called
{NAV_LIST_ALL_DIV1:start_id:level_depth:level_move:parent_set:parent_link}
Where
---------------------------------------------------------------------------------
level_depth=value -> output from start_id X level deep
level_depth=0 -> output without level limitation,
e.g. level_depth= 1 limits to the first level - and so on...
---------------------------------------------------------------------------------
level_move=1 -> If you start e.g. with an ID at
the third level, the class output normaly begins at the third level ("MenuItem-3" -4 -5 ....).
You can move the beginning level output for classes to the first level. ("MenuItem-1" -2 -3 ....)
level_move=0 -> output without any changes
---------------------------------------------------------------------------------
parent_set=1 -> output of the parent link (Means the link with the given ID)
parent_set=0 -> no parent output (As a normal call)
(Works only, if parent_set=1)
---------------------------------------------------------------------------------
parent_link=1 -> output of the parent link as link
parent_link=0 -> output of the parent link as text only (no link)
---------------------------------------------------------------------------------
And some more features.
---------------------------------------------------------------------------------
* [BR] in category title: is running well
* Each level and each active linkprocess can be formatted likewise separately
* Ascending counter for every entry at sublevel / output of the ID (for very special formatting)
* Follows the link in structure tree
e.g.
<div class="MenuItem-3 MenuItem-3-1 MenuItem-3-ID7"><a href="link_31" title="link_31 text">link_31 text</a></div>
<div class="MenuItem-3 MenuItem-3-2 MenuItem-3-ID19"><a href="link_32" title="link_32 text">link_32 text</a></div>
<div class="MenuItem-3 MenuItem-3-3 MenuItem-3-ID21" id="activeSection"><a href="link_33" title="link_33 text">link_33 text</a></div>
<div class="MenuItem-4 MenuItem-4-1 MenuItem-4-ID28"><a href="link_41" title="link_41 text">link_41 text</a></div>
<div class="MenuItem-4 MenuItem-4-2 MenuItem-4-ID29" id="activeLink"><a href="link_42" title="link_43 text">link_42 text</a></div>
<div class="MenuItem-4 MenuItem-4-3 MenuItem-4-ID32"><a href="link_43" title="link_43 text">link_43 text</a></div>
e.g. parent output
parent_set =yes - parent_link =yes (This is ever MenuItem-0)
---------------------------------------------------------------------------------
<div class="MenuItem-
0 MenuItem-
0-ID30" id="
activeSection"><a href="link" title="link text">link text</a></div>
parent_set =yes - parent_link =no (This is ever MenuItem-0)
---------------------------------------------------------------------------------
<div class="MenuItem-
0 MenuItem-
0-ID30">link text</div>
Please study the page and the php file and you will see.
Have a look at
Code: Select all
www .mz.ja-nek .de/test2_3_11.phtml
.
regards Knut