View Single Post
  #6  
Old 10-12-2013, 07:51 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: How do i Add Newsletter Signup Box in my Footer ?

Quote:
Originally Posted by philrisk
This is the code I use on a static page.

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
Reply With Quote