[Typo3] cObject CASE

Farhdine Boutzakhti funkycms at axidea.fr
Wed Sep 21 09:52:42 CEST 2005


Hi y’all !!!!

I got a little problem wit a cObject CASE. This is what I did:

tmp.plusloin = TEXT
tmp.plusloin.value =
<img src="fileadmin/templates/images/fleche-trans-{$esp}.gif" alt="*" 
style="float: left; text-align: left;" /><div style="padding-top: 5px; margin: 
0px;">Pour aller plus loin</div>
tmp.plusloin.case = upper

tmp2.plusloin = TEXT
tmp2.plusloin.value = <div style="height: 100%; width: 100%; margin: 0px; 
background-color: blue;"></div>

lib.plusloin_title = CASE
lib.plusloin_title.key = ????????
lib.plusloin_title.if.isTrue.field = field_content
lib.plusloin_title.default < tmp.plusloin
lib.plusloin_title.1 < tmp2.plusloin

I wanna know if the the field field_content is empty or not then I will set my 
lib depending on it.
How can I set what I want as the key value?


Thanks in advance





More information about the TYPO3-english mailing list