[TYPO3] Menus in typo3

JoH asenau info at cybercraft.de
Thu Feb 15 20:02:47 CET 2007


Root
    |_Home
    |_Features
        |__White House
            |__Archived Articles
                |__Archived News Item 1
                |__Archived News Item 2
                |__Archived News Item 3


For this structure:

entryLevel = 0    will show "Home" , "Features"
entryLevel = 1    will show "White House"
entryLevel = 2    will show nothing, since "Archived Articles" is hidden
entryLevel = 3    will show "Archived News Item X"

If you want "White House" to be the starting item for the right pane menu,
you must use entryLevel  = 1. But this will still not show you the hidden
subpage.

But maybe I got you wrong and the page itself is not hidden, but you don't
want it to appear in the menu. Then you should do it like this:
temp.mainNav = HMENU
temp.mainNav {
    entryLevel = 0
    1 = TMENU
    1 {
        expAll = 1
        NO.allWrap = <div class="mainNavLevel1NO"> | </div>
        ACT = 1
        ACT.allWrap = <div class="mainNavLevel1ACT"> | </div>
    }
}

temp.secondNav = HMENU
temp.secondNav {
    entryLevel = 1
    1 = TMENU
    1 {
        expAll = 1
        NO.allWrap = <div class="secondNavLevel2NO"> | </div>
        ACT = 1
        ACT.allWrap = <div class="secondNavLevel2ACT"> | </div>
    }
    2 = TMENU
    2 {
        expAll = 1
        NO.doNotShowLink = 1
    }
    3 = TMENU
    3 {
        NO.allWrap = <div class="secondNavLevel3NO"> | </div>
        ACT = 1
        ACT.allWrap = <div class="secondNavLevel3ACT"> | </div>
    }
}

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com




More information about the TYPO3-english mailing list