[TYPO3-english] newbie - menu problem

Michael Lykke lykke at hujelauget.dk
Sun Sep 13 09:37:36 CEST 2009


Lex Thoonen skrev:
> Hi,
> 
> I've just strated using typo3, and the modern template building
> tutorialas have helped a lot. However, I've got a typical newbie
> question:
> 
> on my root page, the menu works fine. But it disappears on all other
> pages.
> 
> And another thing with the menu: I've been reading about creating a
> shortcut from 'home' to 'root', but how do i do that? Googling doesn't
> help me so far...
> 
> Thanks!
> 
> Here's what I've got sofar:
> 
> # Menu 1 cObject
> temp.nav = HMENU
>   # First level menu-object, textual
> temp.nav.1 = TMENU
> temp.nav.1 {
>     # Normal state properties
>   NO.allWrap = <li class="menu1-level1-no"> | </li>
>     # Enable active state and set properties:
>   ACT = 1
>   ACT.allWrap = <li class="menu1-level1-act"> | </li>
> }
>   # Second level menu-object, textual
> temp.nav.2 = TMENU
> temp.nav.2 {
>     # Normal state properties
>   NO.allWrap = <li class="menu1-level2-no"> | </li>
>     # Enable active state and set properties:
>   ACT = 1
>   ACT.allWrap = <li class="menu1-level2-act"> | </li>
> }
> 
> 
> 

If you're using a different template on subpages you need to add the 
menu to the template - use the TemplaVoila module, look at the DS 
(DataStructure) and the mapped elements on your frontpage and see if you 
can figure out how to do the same thing on your subpages template.

Cheers, Michael


More information about the TYPO3-english mailing list