[TYPO3] ensure that subparts are not empty

Peter Klein peter at umloud.dk
Tue Mar 14 16:11:28 CET 2006


Hi Felix. You can do something like this:

subparts.middlecol = COA
subparts.middlecol {
        10 = TEXT
        10.value =  
        10.if.isFalse.numRows < styles.content.get
        20 < styles.content.get
}

-- 
Peter Klein/Umloud Untd


"Felix Natter" <felix.natter at ldc.de> skrev i en meddelelse 
news:mailman.1.1142347595.18763.typo3-english at lists.netfielders.de...
> hi,
>
> I'm using extension automaketemplate to insert content like
> this:
>  subparts.middlecol < styles.content.get
>
> The problem is that I am using CSS borders, and IE does
> not display the borders if there is no content in the <td>:
> <td id="middlecol" width="600"></td>
>
> I need to get a &nbsp; in there if styles.content.get returns no content.
> I'd appreciate any advice.
>
> thanks in advance,
>
> -- 
> Felix Natter 





More information about the TYPO3-english mailing list