[TYPO3-templavoila] fce: supress output
Joachim Streit
jstreit at ditnetwork.de
Tue Apr 11 14:45:35 CEST 2006
Klaus Hinum wrote:
> hi list,
>
> how can i supress the output in an fce when nothing is entered
> (especially in an integer field, lieving the checkbox unchecked does not
> work)?
>
> e.g.; i have an integer field and don't want to display 0 if no value is
> entered (it would be perfect, if nothing would stand there).
>
> thanks in advance
> klaus
Hi klaus,
i don't know exactly the answer for your question. But try this one, i
use it for an email field, when empty ->show nothing ...
<TypoScript>
<![CDATA[
10 = COA
{
10 = TEXT
10 {
if.isTrue.field = field_email
typolink.parameter.field = field_email
typolink.returnLast = url
wrap = <a href="|"><img src="fileadmin/fussball/email.gif"
}
30 = TEXT
30 {
if.isTrue.field = field_email
field = field_name
wrap = alt="E-Mail von: |"
}
40 = TEXT
40 {
if.isTrue.field = field_email
field = field_name
wrap = title="E-Mail von: |"
}
90 = TEXT
90 {
if.isTrue.field = field_email
wrap = border="0"></a>
}
]]>
</TypoScript>
Joachim
More information about the TYPO3-project-templavoila
mailing list