[TYPO3-templavoila] FCE wrap only if not empty

K. Zugberg webshopper at arcor.de
Wed May 10 15:16:28 CEST 2006


Hi,

I'm looking for a solution to modify the DS of my templavoila FCE in 
order to display a wrap around an element only if it's value is not empty.
The element in Question is a text string which is inserted by a normal 
input field. (etype = input)
The Script is the following:

<TypoScript>
<![CDATA[
10 = TEXT
10.current = 1
10.wrap = <h2>|</h2>
]]>
</TypoScript>

The wrap should only be displayed if the text string is not empty. Can 
anybody help or give me a clue?

Thanks in advance.



More information about the TYPO3-project-templavoila mailing list