[TYPO3-dev] IF-property in cObject IMAGE different then IMAGE.stdWrap.if ?
Franz Koch
typo.removeformessage at fx-graefix.de
Tue Dec 9 23:19:33 CET 2008
Hi Thorsten,
>> -------------------
>> # the statement
>> tmp.displayCondition.if.isTrue {
>> field = category_uid
>> [...]
>> }
>>
>> # way a)
>> 10 = IMAGE
>> 10 {
>> #...
>> if < tmp.displayCondition.if
>> }
>>
>> # way b)
>> 10 = IMAGE
>> 10 {
>> #...
>> stdWrap.if < tmp.displayCondition.if
>> }
>> ------------------
...
> without looking at the code I'd say from your example that in
> IMAGE.stdWrap.if the record you want to render is available while in
> IMAGE.if it's not. Probably in the latter case the "uppermost" cObject
> is used which renders the page. Maybe you can approve this by using a
> field that's characteristic for table pages.
I also thought that, but I did a check for the field 'category_id'
(IMAGE.if.isTrue.field = category_id) and it's available there as the
condition validates. So that can't be it.
--
kind regards,
Franz Koch
More information about the TYPO3-dev
mailing list