[TYPO3-dev] Problem with hook in sr_feuser_register/sr_email_subscribe
Brian Bendtsen
bb at bellevuevej.dk
Tue Aug 19 11:44:59 CEST 2008
Franz Holzinger skrev:
> Hello,
>
> Brian Bendtsen a écrit :
>
>>
>> and added this to my ext_localconf.php file:
>>
>> $TYPO3_CONF_VARS['EXTCONF']['sr_feuser_register']['tx_srfeuserregister_pi1']['confirmRegistrationClass'][]
>> = 'EXT:myext/class.createMemberNo.php:createMemberNo';
>>
>> Am I doing something wrong?
>
> There is a bug in some TYPO3 version where $TYPO3_CONF_VARS is always
> empty.
> You should try it with $GLOBALS['TYPO3_CONF_VARS'] ...
>
>
> - Franz
>
>
Thank you, now it works
/Brian
More information about the TYPO3-dev
mailing list