[TYPO3-templavoila] Hiding empty Tags

Chris Müller mueller at cyperfection.de
Fri Apr 15 07:43:47 CEST 2011


Hi Frank,

here is an example:

10 = TEXT
10.current = 1
10.wrap = <div class="foo">|</div>
10.required = 1

You map the div as OUTER and then make the wrap inside the content 
object. It is only used if the current value is filled.

Regards,
Chris.

Am 14.04.2011 16:54, schrieb Frank Mey - NEW.EGO:
> Hi,
> thx a lot - what do you mean by "wrapping in the FCE" ?
> like map a img-tag, wrap it in TS of the DS with a div and setting this DIV
> to required=1 ?
>
>> -----Original Message-----
>> From: typo3-project-templavoila-bounces at lists.typo3.org [mailto:typo3-
>> project-templavoila-bounces at lists.typo3.org] On Behalf Of Ralf-René
>> Schröder
>> Sent: Thursday, April 14, 2011 10:55 AM
>> To: typo3-project-templavoila at lists.typo3.org
>> Subject: Re: [TYPO3-templavoila] Hiding empty Tags
>>
>> Ralf-René Schröder schrieb:
>>> mapping - outer
>>> wrapping in the FCE
>>> and then "reqired = 1" should help
>>>
>> oh... bad typo
>> "required = 1"
>>
>> --
>> Ralf-René Schröder
>> http://if-20.com  ... YAML templates for TYPO3
>> ______________________________________________
>> _______________________________________________
>> TYPO3-project-templavoila mailing list
>> TYPO3-project-templavoila at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-templavoila
>



More information about the TYPO3-project-templavoila mailing list