View Single Post
  #1  
Old 02-12-2016, 01:34 PM
 
benlind benlind is offline
 

Member
  
Join Date: Feb 2016
Posts: 24
 

Default Add newsletter subscription form to footer

I would like to add a simple newsletter subscription form to my footer. Ideally this will include both an email address and first name input, but just an email address is fine.

I tried using this code that I adapted from a post on the forums:

HTML Code:
<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}" /> <button type="submit">Sign Up</button> </form>

If I submit this form, I get a 404 not found error on news.php.

What is the appropriate HTML/smarty code to add to my footer to add this newsletter subscribe form?
__________________
X-Cart version 5.2
Reply With Quote