How To :Datatype for allow registration to newsletter during user registration ???

Author Message

Stefano Gattuso

Sunday 07 August 2011 5:26:53 am

Hello i am modifing the nvnewsletter extension..what i want like result is to have subscription to newsletter and user registration togheter in same form..

For make that i am creating a datatype which will be added on user class and using the validateObjectAttributeHTTPInput method for insert the user on the newsletters ystem.

Now here is the problem : how to acces to information abuot email adress (which user used on another Datatype on that form)?

 

now i am using :  $email = $http->postVariable('ContentObjectAttribute_data_user_email_2558');

 

but i dont like it!

PS : Sorry for my bad eng.

[ ] http://www.buby.it

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.