[TYPO3] Retrieving data to TS from cObj->stdWrap()

Terkild typo3 at concare.org
Tue Aug 8 10:39:59 CEST 2006


Greetings newsgroup,

Im currently writing an extension that during the output process is 
calling cObj->stdWrap() on my values retrieved from the database, and i 
have figured out how to add a wrap or format it as date etc. but when i 
try to add a postCObject i can't seem to find out how to retrieve the value.

E.g. i want to show an image with the name submitted through 
cObj->stdWrap(), i have tried the following code, without luck:

item_image.postCObject = IMAGE
item_image.postCObject.file.import = uploads/tx_myextension/
item_image.postCObject.file.import.current = 1
item_image.postCObject.file.import.listNum = 0

Any suggestions how i can solve the problem?

Thanks in advance!

Kind Regards
Terkild




More information about the TYPO3-english mailing list