[TYPO3-dev] Markers In Content Element
    Sascha Bieler 
    sascha.bieler at radiogong.de
       
    Wed Jul  6 11:31:17 CEST 2011
    
    
  
Hm, very good hint!
I'll give it a try, thank you...
"Mathias Schreiber [wmdb]"  schrieb im Newsbeitrag 
news:mailman.1.1309943003.32688.typo3-dev at lists.typo3.org...
Am 06.07.11 10:48, schrieb Sascha Bieler:
> Where can I find some documentation about parseFunc.userFunc or an 
> example?
Try this (from memory and likely not up to date, but hey... :))
page.includeLibs.SQLREPLACER =
fileadmin/templates/scripts/user_replacesql.php
Then try this:
tt_content.text.20.parseFunc.userFunc = user_sqlreplace->replaceMarker
In your PHP class have something like this:
<?php
class user_sqlreplace {
   function replaceMarker($content, $conf) {
     debug($content);
   }
}
?>
Instead of debug you'd do whatever you like orneed to do.
-- 
Ernesto, Nov. 9th 2010:
"In the graphics generation routines of TYPO3 *anything* could cause a
side effect." 
    
    
More information about the TYPO3-dev
mailing list