[TYPO3] CONTENT, renderObj and isTrue

JoH info at cybercraft.de
Wed Oct 10 13:12:32 CEST 2007


>> Hi Lukas.
>> Try changing your "2" object to this:
>>
>> 2 = TEXT
>> 2 {
>>   if.isTrue.numRows
>>   if.negate = 1
>>   value = <title>AI: Verksamheter</title>
>> }
>>
>
> Thanks for your reply. But it still doesn't work, the page just get an
> empty title tag if tx_awanthrcompanies_pi1[company_id] is not set

Of course, since there is nothing to count for numRows.
You need at least a simple select statement to get any output from numRows 
to isTrue.
Check the TSref for numRows and select to find out how it should be done.

HTH

Joey 




More information about the TYPO3-english mailing list