![]() |
Static Page for newsletter subscription or unsubscription
Here's the standard code. It posts to itself, so the page can be stand alone with your headers and/or footers, or you can just make a small box on your index page or something. Lots of uses, so you can be creative.
If you copy all this code, modify your database settings, and rename it newsletter.php and upload it, it should work for you. Code:
<? |
If anybody uses this, please let me know :D
|
Just thought I'd add a tpl version of this, same sense, unsubscribe and subscribe forms on one page:
Code:
To subscribe to the newsletter, enter your email address and click "Subscribe". Kudos to Jon for sharing his code. :wink: |
Thanks for the .tpl
Thanks for the code Boomer. Quick question, what .tpl file do I modify to change the "thank you for subscribing" page?
|
Thanks Jon
Sweet Code. Worked great for me. Thanks for sharing it with us. Really Appreciate it.
|
Tried the .tpl version and I keep getting the error message "You have specidifed and incorrect e-mail address."
Anyone know why? |
i get the same "You have specified an incorrect e-mail address" when trying the code in a static html and in a tpl file
anyone know how this may be? http://www.innovativeoutlet.com/store/pages.php?pageid=2 thanks |
i found the fix for the Subscribe/Unsubscribe page by Boomer:
"You have specified an Incorrect e-mail address" in the subscribe part, change this Code:
To subscribe to the newsletter, enter your email address and click "Subscribe". to this Code:
To subscribe to the newsletter, enter your email address and click "Subscribe". notice the name changed from email to newsemail this fix worked with my version 4.0.17 |
Static Page for Newsletter subscribe-unsubscribe
I am using the great ideas from this post to add the subscribe onto the front page of our site, that is static, and separate from the store. That works great. BUT I would like the resulting message (your email was successfully added, or removed, etc) to open in a new window on its own without going into the cart itself. Can this be done and how? I can create the new window part, but how would I pull in the results?
Any help appreciated. Connie Manning added mod/ special offers |
You can use javascript in your form submission code to have it open in a new window. Just google for the code.
Nice to see other Vancouverites here :) |
All times are GMT -8. The time now is 02:09 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.