[Typo3] Case / if statements in TMENU for ATagParams

JoH info at cybercraft.de
Wed Apr 13 17:32:33 CEST 2005


> BTW - the effect should be, that if there are two lines in the menu
> item, an other class is loaded (could be even an additional class ...)

No stdWrap available for ATagParams, thus no "if" ...
But maybe you can use optionSplit with a loooong line of ATagParams:

ATagParams = param1 || 28 times param1 + separator || param1 |*| param2 |*|

param2 will be repeated but unfortunately you can't repeat two parts of
optionSplit a certain times.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-english mailing list