[TYPO3-english] sr_feuser_register hook not working

Arun Chandran arun.c at pitsolutions.com
Tue Jul 16 08:32:27 CEST 2013


Hi All,



I am using typo3 version 4.7.12 and sr_feuser_regsiter version 3.0.1. I need to implement a hook for this extension. 
For this I've created a custom extension 'feregister_hook'. And included this in ext_localconf.php file;

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sr_feuser_register']['tx_srfeuserregister_pi1']['model'][] = t3lib_extMgm::extPath('feregister_hook').'hooks/class.tx_srfeuserregister_hooks.php:&registrationProcess_afterSaveCreate'; 

and created a file named "class.tx_srfeuserregister_hooks.php" in "feregister_hook/hooks" folder.

But when I load the registration form in frontend, I got an error like,

t3lib_div::getUserObj 
|Class 'registrationProcess_afterSaveCreate' was not prepended with 'user_'| 
error in the class name for the hook "model" 
|/typo3conf/ex/feregister_hook/hooks/class.tx_srfeuserregister_hooks.php:&registrationProcess_afterSaveCreate|

Anybody know how can I solve this ??

Please help me, Thanks in Advance. 

Best regards,   
Arun Chandran
 
Software Engineer
  
  PIT Solutions Pvt. Ltd. 
L7 & L8, Floor (-1), Thejaswini, Technopark 
Thiruvananthapuram, Kerala, India, PIN 695 581 

Tel: +91 (0) 471 270 0615 / 0715 / 0915, Extn - 2055 
Fax: +91 (0) 471 252 7117 
Mob: +91 (0) 9847114722
 
Web: www.pitsolutions.com 
Blog: http://blog.pitsolutions.com      
Disclaimer:This message is intended only for the individual or entity to which it is addressed.It may contain privileged, confidential information which is exempted from disclosure under applicable laws.If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.If you have received this communication in error, please notify us immediately by return email.Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the Company.Finally, the recipient should check this email and any attachments for the presence of viruses.The company accepts noliability for any damage caused by any virus transmitted by this email. 


More information about the TYPO3-english mailing list