[TYPO3-english] Using normal parsefunc inside my own userFunc

Tapio Markula tapio.markula at xetpoint.fi
Wed Nov 26 16:15:20 CET 2008


If I have

includeLibs.hsme_string = fileadmin/ext-templates/user_myreplace.inc
tt_content.text.20 {
    parseFunc {
# how to configure userFunc to use parseFunc, which is used for the 
field 'bodytext'
userFunc.xxx = xxx

How to use inside my own userFunc
parseFunc to handle 'bodytext' like it has been normally handled

I presume that I need to use function parseFunc - but how to configure 
it correctly?

function user_myreplace($content="",$conf=array()) {
while ($contentRow = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($contents)) {

More information about the TYPO3-english mailing list