[TYPO3] ifEmpty

Stig Kjeldsen sk at itu.dk
Sat Apr 5 16:00:15 CEST 2008


I'm trying to get my content element wrap in a div. If the element is 
empty it should be wrap in anothor div, something like this:


<TypoScript><![CDATA[
   10= RECORDS
   10.source.current=1
   10.tables = tt_content
   10.stdWrap.ifEmpty = <div id="leftCol">|</div>

else...

   10.wrap = <div class="border"><div id="leftCol">|</div>
]]></TypoScript>


Best regards

Stig Kjeldsen


More information about the TYPO3-english mailing list