[TYPO3-templavoila] Hiding empty content

Manfred Mirsch manfred.mirsch at tandemmedia.de
Mon Jun 16 19:27:36 CEST 2008


SUPER!!!
now it works.

Seems, that I have to study the TS-Ref a bit deeper.

Bye,
Manfred

> On Sun, 15 Jun 2008 22:18:19 +0200, Manfred Mirsch 
> <manfred.mirsch at tandemmedia.de> wrote:
> 
>> Hi Christian,
>> Thanx for your quick reply. I tried to insert a "required" into my TS 
>> inside the XML:
>> <TypoScript><![CDATA[
>>    10= RECORDS
>>    10.source.current=1
>>    10.tables = tt_content
>>    10.wrap.required = 1
>>    10.wrap = <!--TYPO3SEARCH_begin--><div id="content_r"> | 
>> </div><!--TYPO3SEARCH_end-->
>> ]]></TypoScript>
>>
>> But this wasn't successfull. Do you know how I could modify the TS to 
>> display the div "content_r" only in case of an existing element in the 
>> corresponding column?
>>
> 
> Hi Manfred, it looks like RECORDS does not support full stdWrap featurers.
> thats what i have seen after a look in the TS-ref. but you could use a COA
> to get the full stdWrap Features
> 
> 
> <TypoScript><![CDATA[
>     1 =COA
>     1 {
>     stdWrap.required = 1
>     stdWrap.wrap = <!--TYPO3SEARCH_begin--><div 
> id="content_r">|</div><!--TYPO3SEARCH_end-->
>         10= RECORDS
>         10.source.current=1
>         10.tables = tt_content   
>     }
>  ]]></TypoScript>
> 
> i think this should work for your border.
> 
> greets chris
> 
> 


More information about the TYPO3-project-templavoila mailing list