[TYPO3-english] Re: Typo3 menu with begin and end

Nemanja Todic tntprograms at gmail.com
Fri Sep 12 11:45:39 CEST 2014


Hi Siniša,

Here's how you can accomplish this:

First, change your pages structure to following:
-First menu Group (this is separator page type. Eg. uid is 100)
   - First menu item 1
   - First menu item 2
   - First menu item 3

-Second menu Group (this is separator page type. Eg uid is 200)
   - Second menu item 1
   - Second menu item 2
   - Second menu item 3

Then, create HMENU like this:

lib.navigation.main = HMENU
lib.navigation.main {
   entryLevel = 0
   special = directory
   special.value = 100, 200 #UIDs of your root pages

   1 = TMENU
   1 {
      #the rest of the code...
    }

}

If I understood the request properly, this should do it.


More information about the TYPO3-english mailing list