[TYPO3] Partial menu generation

Jeppe Vesterbæk jhve02 at control.aau.dk
Thu Feb 16 18:09:01 CET 2006


Hi

>Hi Jeppe. Then how about this:
>
>-- cut --
>[treeLevel = 1]
>temp.menu_doc.entryLevel=1
>[treeLevel = 2]
>temp.menu_doc.entryLevel=2
>[treeLevel = 3]
>temp.menu_doc.entryLevel=3
>[treeLevel = 4]
>temp.menu_doc.entryLevel=4
>[global]
>-- cut--
>  
>
Yes, but I do not want the entryLevel to be bound to the treeLevel of 
the current page. Again, example

- Page ID=1 (level 1)
- Page ID=2 (level 1)
    - Page ID=3 (level 2)
    - Page ID=4 (level 2)
          -Page ID=5 (level 3)
          -Page ID=6 (level 3)
	  	-Page ID=7 (level 4)
		-Page ID=8 (level 4)
-Page ID=9 (level 1)

NOW, say Page ID=8 is selected, but I want i.e. want to show this menu 
(page ID=2 is root):

- Page ID=2 (level 1)
    - Page ID=3 (level 2)
    - Page ID=4 (level 2)
          -Page ID=5 (level 3)
          -Page ID=6 (level 3)
	  	-Page ID=7 (level 4)
		-Page ID=8 (level 4)

OR, still having page ID=8 selected, but might decide to have have page 
ID=4 as root:

- Page ID=4 (level 1)
    -Page ID=5 (level 2)
    -Page ID=6 (level 2)
	-Page ID=7 (level 3)
	-Page ID=8 (level 3)

Hence the current page (selected page), cannot/must not be used to 
determine entrylevel of menu. What I cannot understand is why HMENU does 
not allow you to set a ".menurootpage", that would make it very easy to 
extract parts of menus.

/Jeppe




More information about the TYPO3-english mailing list