[Typo3] If column empty, show column of page X

Peter Russ peter.russ at 4many.net
Wed Aug 10 16:24:07 CEST 2005


Bobby Eichholz wrote:

[...]
> temp.blocksLeftDefault = CONTENT
> temp.blocksLeftDefault {
>     table = tt_content
>     select {
>         pidInList = 169
> ...
> }
> ...
> subparts.blocksLeft < temp.blocksLeft
> subparts.blocksLeft.stdWrap.ifEmpty < temp.blocksLeftDefault
> =====
> This nearly works unless on the FE I now get the type of 
> 'temp.blocksLeftDefault' (CONTENT) instead of the content itself.
> 
> Thanks
> Bobby

I would try this:

subparts.blocksLeft.stdWrap.ifEmpty.cObject < temp.blocksLeftDefault

Regs. Peter.

-- 
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ



More information about the TYPO3-english mailing list