[TYPO3] Conditional menu

Brian typo3-english at lists.netfielders.de
Fri Sep 7 21:46:40 CEST 2007


Just an update, I came up with the following TypoScript that doesn't work but may explain better what I'm trying to accomplish: 

side.menu_1 = HMENU
side.menu_1.if {
  value.data = 4
  equals = treeLevel
}
side.menu_1.isTrue.entryLevel = 3
side.menu_1.isFalse.entryLevel = 1

So basically what I'm trying to do, is if the tree level value is 4, I want the entry level to be 3. If it is anything else, I want it to be 1.


More information about the TYPO3-english mailing list