[TYPO3-english] Custom wrapping text and textpic cObj

Tomas Mrozek mail at cascaval.com
Mon Nov 23 12:24:55 CET 2009


> But this doesn't work; the function isn't called.

I think it should be user_MyUserFunc.

> I simply added the function to the end of typo3conf/localconf.php.

The better probably is to place it into your own PHP file as:

class user_myClass {
  myFunction($content, $conf) {

  }
}

...include the file in your TS setup:

page.includeLibs.mc = fileadmin/myCustomClass.php

...and then call:

tt_content.text.30.userFunc = user_myClass->myFunction

Tomas Mrozek


More information about the TYPO3-english mailing list