10811 Posts in 2496 Topics by 1785 members
|Go to End|
25 November 2009 at 12:18pm
Hi, i am wondering if there is a way to implement a double-opt-in for newsletter subscribers. I have already tried tonisch suggestions and code (see http://silverstripe.org/all-other-modules/show/259592?start=0#post273689#post273689). But i would better like to be closer to the newsletter module.
What i need is to decorate the member class to add "confirmationCode (a random unique code)" and "newsletterConfirmed" to the member table (i think the data is written into member in SubscriptionPage.php at line 234).
In subscribeEmail.ss there must be the confirmationCode and a link to a template where the user can enter this code. If the code match, newsletterConfirmed should set to "1".
I am also looking for a way to check the email in the subscription form. i think, data should not be written, if the email address already exists. there should be a hint if the address already exists.
I hope there will be some pro's who can help because i am not able to solve this at the moment
Would be nice to find someone who shows me how to decorate this dataobject or even give some hints.
|Go to Top|