[TYPO3-english] different stylesheet when contentfield is empty

Stephan de Bruin stephan.de.bruin at dpdk.nl
Wed Feb 4 10:14:25 CET 2009


Stephan de Bruin schreef:
> Marcus 'biesior' Biesioroff schreef:
>> Stephan de Bruin pisze:
>>> Hello all,
>>>
>>> is it possible to load a different stylesheet when ther is no content 
>>> in a column?
>>>
>>> I want my middle column to have a different bg image when there is no 
>>> content. I've tried the following, but without succes:
>>
>> You can try with numRows function:
>> http://wiki.typo3.org/Ts45min#numRows (second TS sample in this section)
> 
> Thanks,
> 
> that did the trick. I used the first example however, because I only 
> needed an additional stylesheet.

Hmm,

I thought it did the trick, but it seems like it didn't. I can;t use a 
check on the database to see if there is nothing in the middle column, 
because there is always a banner showing.

Any ideas?



More information about the TYPO3-english mailing list