[TYPO3-dev] Problem with hook in sr_feuser_register/sr_email_subscribe

Franz Holzinger franz at fholzinger.com
Tue Aug 19 08:35:33 CEST 2008


Hello

Brian Bendtsen a écrit :

> Im using the mentioned extensions for allowing users to subscribe to my 
> website, records are saved as tt_address records. I have created a new 
> extension becauce I needed some more fields. I also need to manipulate 
> the data after the user has confirmed the subscription data. Therefore 
> Im trying to use a hook, but im not sure if the hooks in 
> sr_feuser_register is available when using the sr_email_subscribe 
> extension.
> 
> I have used hooks before and this is what I have done to test if it 
> works so far:
> 
> 1. In my extension library I have created the file ext_localconf.php and 
> added the lines:
> 
> <?php
> 
> $TYPO3_CONF_VARS['EXTCONF']['sr_feuser_register']['tx_srfeuserregister_pi1']['registrationProcess'][] 
> = 'EXT:myext/class.createMemberNo.php:createMemberNo';
> 
> ?>
No, you must use a different hook setting if the hook shall be used 
under sr_email_subscribe.

$TYPO3_CONF_VARS['EXTCONF']['sr_email_subscribe']['tx_sremailsubscribe_pi1']['registrationProcess'][] 

  = 'EXT:myext/class.createMemberNo.php:createMemberNo';

- Franz




More information about the TYPO3-dev mailing list