[TYPO3] communication between TS objects in different FCE fields
info at cybercraft.de
Fri Mar 3 03:13:48 CET 2006
>> 10 = TEXT
>> 10.value= comments number:
>> 20 = USER_INT
>> 20.userFunc = user_count_comments_class->count
>> 20.pageid = 12
>> the problem is that '11.pageid' field's value should be set
>> dynamically. Ideally, it would fetch it somehow from the LINK field
>> of this FCE, which would be chosen by user.
> my mistake here, here goes corrected ver:
Try the TS function numRows instead of your counting PHP.
10 = TEXT
10.value= comments number:
20 = TEXT
table = yourCommentTableName
pidInList.data = TSFE:id
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
More information about the TYPO3-english