[TYPO3] Retrieving RECORD bodycontent via TS?
Tyler Kraft
headhunterxiii at yahoo.ca
Thu Mar 22 21:35:52 CET 2007
> ... which sure sounds like "You shouldn't be using the RECORDS cObject"
> to me. But what do I know.
Fine, my mistake as I wouldn't have used the records cobject for what
your doing. Therefore I forgot that it can be defined for the rendering
also.
>> Or you can apply the stdWrap and then parseFunc to your HTML like this:
>>
>> lib.contentGoesHere.conf.tt_content = HTML
>> lib.contentGoesHere.conf.tt_content.value.field = bodytext
>> lib.contentGoesHere.conf.tt_content.value.parseFunc < lib.parseFunc
>
> What do you know, that works! Thanks. I will now diligently go to the
> parseFunc section of the TSRef to try and understand why.
Don't waste to much time here, as its rather tricky to understand from
just TSref. Better to look at the typoscript object browser - I think it
will show in a more logical way what the parseFunc is for. And you might
find you need to use a different lib.parseFunc depending upon your rte
being used.
More information about the TYPO3-english
mailing list