[TYPO3-english] Bug in TMENU with HMENU special=directory?

Xavier Perseguers typo3 at perseguers.ch
Fri May 29 22:55:51 CEST 2009


Hi,

I have following tree:

root
|-- page1
|   `-- page1.1
|       `-- page1.1.1
|-- page2
|   `-- page2.1
`-- sysfolder
     |-- page3
     |   `-- page3.1
     |       `-- page3.1.1
     `-- page4

I have create a menu with

lib.menu = HMENU
lib.menu.1 = TMENU
lib.menu.1 {
     expAll = 0
     # standard stuff for menu
}
lib.menu.2 < lib.menu.1
lib.menu.3 < lib.menu.2

It shows me

page1
page2

Then when I click on page1 it shows me next level:

page1
   page1.1
page2

And finally when I click on page1.1 it shows me third level. Great.

Now I have a special menu for pages under my sysfolder (uid=12):

lib.otherMenu = HMENU
lib.otherMenu.special = directory
lib.otherMenu.special.value = 12

lib.otherMenu.1 = TMENU
lib.otherMenu.1 {
     expAll = 0
     # same stuff as for lib.menu.1
}
lib.otherMenu.2 < lib.otherMenu.1
lib.otherMenu.3 < lib.otherMenu.2

Using special=directory only shows me 1st level, 2nd level is never shown.

If I change lib.otherMenu.1.expAll = 1, then I see all levels but that's 
not what I want...

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away


More information about the TYPO3-english mailing list