[TYPO3] Conditionals - what am I not doing correctly

Andreas Burg typo3 at andreasburg.de
Wed Aug 27 23:18:40 CEST 2008


Hello Doug,
> temp.top_nav = HMENU
> temp.top_nav {
>  special = list
>  [loginUser < 1]
>   special.value = 9,456,227,423,426
>  [END]
>  [loginUser > 0]
>   special.value = 9,456,227,423
>  [END]
> }

I think you can not use conditions between brackets, try this

temp.top_nav = HMENU
temp.top_nav {
   special = list
}
[loginUser < 1]
   temp.top_nav.special.value = 9,456,227,423,426
[END]
[loginUser > 0]
   temp.top_nav.special.value = 9,456,227,423
[END]

or this

temp.top_nav = HMENU
temp.top_nav {
   special = list
   special.value = 9,456,227,423,426
}
[loginUser > 0]
   temp.top_nav.special.value = 9,456,227,423
[END]


More information about the TYPO3-english mailing list