[TYPO3] bodyTag depends on columns

Pierre Rouwens prouwens at tc2l.ca
Mon Mar 6 22:40:13 CET 2006


hi Hauke,

I've tried but it seems not working ... maybe it's me but are you sure 
we can use stdWrap property on bodyTag ?? i can't find this option in 
the tsref ...
Gonna check again my TS..

Thanks a lot for the tip

Pierre
> Hi Pierre,
> I think this was working:
> 
> page {
>  bodyTag= <body class="onecolumn">
>  bodyTag.override = <body class="twocolumn">
>  bodyTag.override.if.isFalse.cObject.numRows {
>    table = tt_content
>    select.where = colPos=1
>    }
>  }
> 
> So only if there is no content in colPos 1 the class is "onecolumn"
> 
> Maybe it helps.
> 
> Hauke



More information about the TYPO3-english mailing list