| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Static Page for newsletter subscription or unsubscription | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
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:
|
|||||||||
#2
|
|||||||||
|
|||||||||
If anybody uses this, please let me know
|
|||||||||
#3
|
|||||||||
|
|||||||||
Just thought I'd add a tpl version of this, same sense, unsubscribe and subscribe forms on one page:
Code:
Kudos to Jon for sharing his code.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#4
|
|||||||
|
|||||||
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?
__________________
X-Cart 4.4.0 PHP 5.2.5 |
|||||||
#5
|
|||||||||
|
|||||||||
Thanks Jon
Sweet Code. Worked great for me. Thanks for sharing it with us. Really Appreciate it.
__________________
X-Cart Pro User |
|||||||||
#6
|
|||||||
|
|||||||
Tried the .tpl version and I keep getting the error message "You have specidifed and incorrect e-mail address."
Anyone know why?
__________________
Jazzer CloserToTheDream.com X-Cart 4.0.12 |
|||||||
#7
|
|||||||||
|
|||||||||
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
__________________
X-Cart Gold 4.0.17 & 4.0.18 Linux Server Hands-On Hosting http://www.CoreCases.com - Ipod Cases http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need |
|||||||||
#8
|
|||||||||
|
|||||||||
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 this Code:
notice the name changed from email to newsemail this fix worked with my version 4.0.17
__________________
X-Cart Gold 4.0.17 & 4.0.18 Linux Server Hands-On Hosting http://www.CoreCases.com - Ipod Cases http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need |
|||||||||
#9
|
|||||||||
|
|||||||||
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
__________________
Versions 4.7.6 multiple mods and customizations |
|||||||||
#10
|
|||||||||
|
|||||||||
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 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|