[TYPO3-dev] Markers In Content Element
    Mathias Schreiber [wmdb] 
    mathias.schreiber at wmdb.de
       
    Wed Jul  6 11:02:25 CEST 2011
    
    
  
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