[TYPO3-english] Custom wrapping text and textpic cObj

Chris Müller mueller at cyperfection.de
Mon Nov 23 09:22:36 CET 2009


Hi Andrew,

why don't you use a "normal" wrap:

tt_content.text.wrap = FRED1|FRED2

The COA has a wrap-property:
http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.2.1/view/1/8/#id4365577

Chris.

Andrew Plank schrieb:
> Hi all,
> 
> I need to be able to perform a custom wrap around text and textpic 
> cObjects. To do this, I thought it would be a simple case of doing this:
> 
> tt_content.text.30 = USER
> tt_content.text.30.userFunc = userMyUserFunc
> 
> But this doesn't work; the function isn't called. I simply added the 
> function to the end of typo3conf/localconf.php.
> 
> If I do this:
> 
> tt_content.text.30 = TEXT
> tt_content.text.30.value = FRED
> 
> Then I get FRED all over the FE, as expected. What am I missing?


More information about the TYPO3-english mailing list