[TYPO3-templavoila] FCE wrap only if not empty
K. Zugberg
webshopper at arcor.de
Tue May 16 11:47:31 CEST 2006
Hi Freddy,
thank you very much for your tip. I tried something similar already and
fortunately it worked!
The code now used is the following:
<TypoScript>
<![CDATA[
10 = COA
10{
10 = TEXT
10.current = 1
stdWrap{
required = 1
wrap = <h2>|</h2>
}
}
]]>
</TypoScript>
Thanks and Greetings
> Hi!
>
> You can try this out:
>
> K. Zugberg schrieb:
>
>> <TypoScript>
>> <![CDATA[
>> 10 = TEXT
>> 10.current = 1
>>
> 10.fieldRequired = field_xxx
>
>> 10.wrap = <h2>|</h2>
>> ]]>
>> </TypoScript>
>>
>
> Where field_xxx is your current field.
>
> Greetings
>
> Freddy
>
>
>
More information about the TYPO3-project-templavoila
mailing list