[Typo3] "Certain-branch-menu" (?)

Kraft Bernhard kraftb at mokka.at
Mon Feb 7 13:55:59 CET 2005


Iona wrote:

> If you're visiting the page "Page 1.2", I would like the links "Page1", "Page1.1" and "Page1.2" show up in this frame. Is there any simple way of doing this in typo3 (with TMENU?), or might I need to use some kind of php-script...? I've tried several things, but all I manage is to show the entire pagetree... I just want a certain branch, influenced by the page being visited.

What you need is a rootline.

A rootline displays all active menu-items from the root to the actual page
(It shows how you are located in the pagetree ... a path to the actual page)

You can do this by creating a menu:

temp.rootline = HMENU
temp.rootline.special = rootline

see TSRef for details
http://typo3.org/documentation/document-library/doc_core_tsref/HMENU-1/


greets,
Bernhard
-- 
Kraft Bernhard
MOKKA MEDIENAGENTUR GMBH / www.mokka.at
T: +43 1 895 33 33 50



More information about the TYPO3-english mailing list