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

Peter typo3 at peter-b.org
Mon Oct 8 19:35:38 CEST 2007


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!

Peter.


More information about the TYPO3-english mailing list