[TYPO3-dev] Hook problem

Peter Russ peter.russ at 4many.net
Thu May 3 23:11:41 CEST 2007


Tapio Markula schrieb:
> Hi
>[...]
> How to define key definition for
> $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tceforms.php']['getMainFieldsClass'] 
> 
> 
> 
> $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tceforms.php']['getMainFieldsClass'][]='EXT:tm_contentaccess/class.getMainFields_preProcess.php:getMainFields_preProcess'; 
> 
> +
> 
> class getMainFields_preProcess {
>     
>     function getMainFields_preProcess(&$table,&$row,&$this) {
>         global $TCA;
>         t3lib_div::debug($table);
> 
> doesn't do anything because t3lib_div::debug($table); doesn't do 
> anything. Function has not been used and I don't understand why not.

Check t3_div::getUserObj() ->
I would guess that your naming is not TYPO3 compatible: your classname 
should either start with user_ or tx_
....

Regs. Peter.

-- 
Fiat lux!
Docendo discimus.
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ




More information about the TYPO3-dev mailing list