[TYPO3] Can't have different NOs with different types/heights in GMENU?

Mathias Schreiber [TYPO3] mathias at typo3.org
Tue Oct 9 08:51:58 CEST 2007


Peter schrieb:
> I have a GMENU that works with conditions that work. But I need to do 
> different sized NO types based on the condition
> 
> NO {
>   XY = ????
>   10 = TEXT
>   10.text.field = title
>   10.if {...}
>   20 = IMAGE
>   20 {
>     file.import = a/nother/file
>     file.maxW = 150
>   }
>   20.if {...}
> }
> 
> Either 10 or 20 will be selected, never both. The conditions work, 
> selecting the right item (TEXT or IMAGE). Problem is, I don't know in 
> advance which it's going to be.
> 
> There is no set pattern or sequence so optionsplit is ruled out.
> 
> So, how do I determine what NO.XY should be? I can't use [10.h] or 
> [20.h] as I don't know in advance which wil be used!

XY = [10.h]+[20.h]+5

as an example....

-- 
T3A AM
Rocking TYPO3 since 3.1b1


More information about the TYPO3-english mailing list