Developer forum

Forum » Feature requests » Newsletter sign up / unsubscribe-tag

Newsletter sign up / unsubscribe-tag

Jacob Bertelsen
Reply
Hi,

It would be nice if the Newsletter v3-subscription-module had a tag, indicating what function the form has.
(Subscribe, unsubscribe and so forth).

Currently I have to create two templates with different translation tags for the submit button's value, as the customer demands that the button does not simply say "Submit".

I would be able to input different translation tags, if I was able to do something like this:
<!--@If(SignupType=='1')--><!--@Translate(Newsletter_name_subscribe, "Subscribe", global)--><!--@EndIf-->
<!--@If(SignupType=='2')--><!--@Translate(Newsletter_name_unsubscribe, "Unsubscribe", global)--><!--@EndIf-->
, or something in that direction.

Anyone got a better solution, or would you also like this?


Replies

 
Morten Bengtson
Reply
Here is a hack / workaround until something better is available...

<!--@Newsletter:Template.Version.2-->

<!--@If Defined(AccessUserName_ID)-->
Subscribe mode - add you subscribe button here.
<!--@EndIf(AccessUserName_ID)-->

<!--@If Not Defined(AccessUserName_ID)-->
Unsubscribe mode - add your unsubscribe button here.
<!--@EndIf(AccessUserName_ID)-->

/Morten
 
Jacob Bertelsen
Reply
Thanks for the workaround Morten :)