| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
How do i Add Newsletter Signup Box in my Footer ? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
How do i Add Newsletter Signup Box in my Footer ?
Im looking to add a simple Input Box and Go button in the footer of my page for Signing up for Newsletter, could someone tell me how i could do this please ?
Ive looked into common_files/modules/News_Managment/Register_newslists.tpl and cannot figure out how to import a simple box into my main footer
__________________
X-Cart Version 4.55 |
|||||||
#2
|
|||||||
|
|||||||
Re: How do i Add Newsletter Signup Box in my Footer ?
This is the code I use on a static page.
PHP Code:
__________________
Live with Gold 4.5.1 Dedicated Linux server MaxCDN 4 pull zones Dedicated SSL |
|||||||
|
#3
|
|||||||
|
|||||||
Re: How do i Add Newsletter Signup Box in my Footer ?
Just applied that and its near perfect mate thankss...only one little problem im having is. Im trying to remove the spambot so its just a basic input box for the newsletter it hink ive done it with the following
<form action="news.php" name="subscribeform" method="post"> <input type="hidden" name="subscribe_lng" value="{$store_language|escape}" /> <label for="semail">Signup for Newsletter: </label> <input type="text" class="input-email" id="semail" name="newsemail" size="30" value="{$newsemail|default:""|escape}" /><br><br> {include file="customer/buttons/subscribe_menu.tpl" type="input" assign="submit_button"} Problem is when i enter an email address it just refreshes the page Im not sure its working, is there anyway of getting to give a message stating the customer has successfully signed up for the email or is my code wrong ? Also is there a place in the admin i can see these submitted newsletter emails ? ive found the news management but its not in there ?
__________________
X-Cart Version 4.55 |
|||||||
#4
|
|||||||
|
|||||||
Re: How do i Add Newsletter Signup Box in my Footer ?
Your missing a closing </form> for a start. Add that and see what happens. It should take you to a subscribed page.
__________________
Live with Gold 4.5.1 Dedicated Linux server MaxCDN 4 pull zones Dedicated SSL |
|||||||
#5
|
|||||||
|
|||||||
Re: How do i Add Newsletter Signup Box in my Footer ?
sorry i did have the form closed but didnt paste it in
this is what i have now <form action="news.php" name="subscribeform" method="post"> <input type="hidden" name="subscribe_lng" value="{$store_language|escape}" /> <input type="text" class="input-email" id="semail" name="newsemail" size="30" value="{$newsemail|default:""|escape}" /><br><br> {include file="customer/buttons/subscribe_menu.tpl" type="input" assign="submit_button"} </form> but im getting the charchters you typed in do not match the picture how do i use your code with just leaving the newsletter input box alone without the spambot or image verification ?
__________________
X-Cart Version 4.55 |
|||||||
#6
|
|||||||
|
|||||||
Re: How do i Add Newsletter Signup Box in my Footer ?
Quote:
Instead of making new thread, I'm gonna tack-on to this one... PTI Phil, thanks for the dedicated form code. MY goal here is to make a static page that is hidden by robots.txt, and used as "subscribe" form for a 3rd party API that will "post" to the form. FROM THERE, the AWeber email API will take the info from the xcart database and send to AWeber email. WHY the extra step? AWeber will not permit a 3rd party to access their API. But they will permit transfer of data from my xcart database to theirs. We just have to get the data into xcart (from facebook). The OfferPop API permits a "post" to xcart news form. SO... I used the form as suggested in #2 and it's great. I removed the captcha. Works perfectly (after turning on the news module). NOW -- I'd like to add a FirstName and LastName field to newsletter. [why xcart default does not have a fullname or first/last fields optional is beyond me! personalized marketing email is proven to be FAR more effective than anonymous] Any ideas how to do this? Yes, I guess I would add two fields to the table: xcart_newslist_subscription Then I guess it's gonna be an edit to /modules/News_Management/news_manage.php But that's just a bit over my head to do this from scratch. It's probably 2 lines of code, right? HAS ANYONE added first name and last name to the newsletter input form? How? Thanks! J
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#7
|
|||||||||
|
|||||||||
Re: How do i Add Newsletter Signup Box in my Footer ?
Quote:
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|