[TYPO3-english] hmenu: special directory - is it possible to show the parent page in the menu as well?!

Katja Lampela katja.lampela at lieska.net
Thu Oct 1 08:04:41 CEST 2009


Hi
I just had almost similar case. I used this code:

lib.leftmenu = COA
lib.leftmenu {
    10 = TEXT
    10.data = leveltitle:2
    10.wrap = <div id="your-menu-header-class">|</div>

# Leftside Navigation
    20 = HMENU
    20.entryLevel = 2
    20.1 = TMENU
    20.1 {
    noBlur = 1
    wrap = <ul>|</ul>
    ACT = 1
    CUR = 1
and blah blah...

    }
}

  With kind regards

Katja Lampela
*Lieska-tuotanto
* www.lieska.net



Daniel Rutzen kirjoitti:
> 
> I have a page tree like this:
> 
> -- Page 1
> -- Page 2
> ---- Page 2 subA
> ---- Page 2 subB
> ---- Page 2 subC
> -- Page 3
> ---- Page 3 subA
> ---- Page 3 subB
> 
> 
> Now, I would like a menu, that dispays only the parent Page 2, and all 
> its sub-pages. (like this)
> 
>  >> Page 2
> - Page 2 subA
> - Page 2 subB
> - Page 2 subC
> 
> I tried with special = directory, but that doesnt include the parent 
> item itself.
> 
> Anyone a clue ?


More information about the TYPO3-english mailing list