[TYPO3] Retrieving RECORD bodycontent via TS?
Jason A. Lefkowitz
jason at jasonlefkowitz.net
Thu Mar 22 21:06:21 CET 2007
Tyler Kraft wrote:
>
>> Tyler's response was "you are dumb to even be using the RECORDS
>> cObject for this."
>
> No it wasn't -what it did say was the syntax is wrong and to look at
> TSref. I said that because the values you are using are not correct.
> Those are facts!
>
Actually, you originally said
> Go look at TSref to see what values should be used for the RECORDS cObject.
> You'll find that its for getting a specific record forma table - not for getting part
> of a record. You need to use the Content cObject and then define your own redering
> for it.
.. which sure sounds like "You shouldn't be using the RECORDS cObject"
to me. But what do I know.
> 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.
-- Jason Lefkowitz
More information about the TYPO3-english
mailing list