X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Subscribe to Newsletter Outside of X-cart (https://forum.x-cart.com/showthread.php?t=55364)

hoosierglass 09-01-2010 02:49 PM

Subscribe to Newsletter Outside of X-cart
 
We just started using Mail Chimp. I want to remove the news.php#subscribe off of the web site and use mail chimps. This way I don't have to keep importing subscribers before every mailing. Does anyone have any ideas or pointers on accomplishing this?

Mike

balinor 09-01-2010 03:03 PM

Re: Subscribe to Newsletter Outside of X-cart
 
Like this?

http://forum.x-cart.com/showthread.php?t=50781

hoosierglass 09-01-2010 03:34 PM

Re: Subscribe to Newsletter Outside of X-cart
 
Mail Chimp has a feature that allows you to make a subscribe form that can be pasted in your web site. I want to take out the X-cart stock subscribe and input the one I created with mail chimp. I have the code but cannot figure out how to remove X-cart's subscribe form and where to input mail chimp's

Dongan 09-01-2010 05:49 PM

Re: Subscribe to Newsletter Outside of X-cart
 
That can be done in skin1/news.tpl file.

hoosierglass 09-01-2010 06:10 PM

Re: Subscribe to Newsletter Outside of X-cart
 
Actually that will not work on the web site I am trying to do this with. There is not a side menu for news, the news is at the bottom and you can only click on "all news" or "subscribe" All news is news.php and subscribe is news.php#subscribe.

The news.tpl is basically for a side menu option for the news based on my understanding. I have tried the skin1/customer/news.tpl file but when I replace the <a href="news.php#subscribe" class="subscribe">{$lng.lbl_subscribe}</a> with the mail chimp code I get a smarty error. I know this is not as complicated as I am making it.

Mike

balinor 09-01-2010 06:29 PM

Re: Subscribe to Newsletter Outside of X-cart
 
Yea, it's not that complicated. Use the MailChimp form generator to generate your form. Then open up customer/home.tpl, remove the call to news.tpl, and add your mailchimp form.

amy2203 09-01-2010 09:35 PM

Re: Subscribe to Newsletter Outside of X-cart
 
you might have to enclose some/all of it in {literal} tags as I think it has some javascript in the form code,

hth


All times are GMT -8. The time now is 04:04 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.