lsascha / registeraddress

newsletter registration extension to tt_address made in Extbase + Fluid for Typo3. with double-opt in, user editing and unsubscribing
GNU General Public License v2.0
7 stars 18 forks source link

Adding unsubscribe link - can't figure out how to do it #45

Closed zvenson69 closed 5 years ago

zvenson69 commented 6 years ago

Unfortunately i cannot get the unsubscribe link to work. Can anyone explain how to do it so that i understand this?:

add registeraddresshash to field basic.addRecipFields of direct_mail in extension manager in settings of direct_mail After that a link can be created with TypoScript:

typolink.parameter = 123 typolink.additionalParams = &tx_registeraddress_registerform[hash]=###USER_registeraddresshash###&tx_registeraddress_registerform[action]=delete&tx_registeraddress_registerform[controller]=Address

Would be great help! Thanks!

ftrojahn commented 6 years ago

Just puzzle the link together how you need it and put it in your mail, no typoscript needed.

E.g.'edit' link:

https://your.domain.tld/newsletter/?tx_registeraddress_registerform%5Bhash%5D=###USER_registeraddresshash###&tx_registeraddress_registerform%5Baction%5D=edit&tx_registeraddress_registerform%5Bcontroller%5D=Address

and put your html a href code around it.

Same for unregister:

https://your.domain.tld/newsletter/?tx_registeraddress_registerform%5Bhash%5D=###USER_registeraddresshash###&tx_registeraddress_registerform%5Baction%5D=delete&tx_registeraddress_registerform%5Bcontroller%5D=Address

See #39, too

lsascha commented 6 years ago

I think for the marker to work its still important to add the field to basic.addRecipFields. But i am not 100% sure. short description is also in the Readme.md of the extension.