[Typo3] Typoscript: yet another conditions question (2nd round)

JoH info at cybercraft.de
Thu Apr 14 17:00:30 CEST 2005


>> plugin.tx_myext_p1 {
>>    label
>>    content1.required=1
>>    content1.wrap = | <br />
>>    content2.required=1
>>    content2.wrap = | <br />
>> }
>>
>> The general question is:
>> how do i make hidden the 'label' field if 'content1' and 'content2'
>> are empty (so they are not shown)?

Same way as you did it with content?

plugin.tx_myext_p1 {
    wrap =   label|
    required = 1
    content1.required=1
    content1.wrap = | <br />
    content2.required=1
    content2.wrap = | <br />
}

Something like that should be working

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