Jump to content

How to use html box to a newsletter sign up form?


Recommended Posts

hello

 

you can do it with code like:

<form action="ADDRESS_TO_YOUR_HOMEPAGE_HERE" method="post">
			<p>
				<input class="inputNew" id="newsletter-input" type="text" name="email" size="18" value="Your email address">
				<input type="submit" value="ok" class="button_mini" name="submitNewsletter">
				<input type="hidden" name="action" value="0">
			</p>
		</form>

replace: ADDRESS_TO_YOUR_HOMEPAGE_HERE with url to your homepage / shop

 

 

but remember that your newsletter module must be active.

 

 

 

btw. why not to use blocknewsletter form?

Link to comment
Share on other sites

Thanks for your help, your code work successfully and it does post the info correctly to the newsletter email/

Question could you help me with some user feedback? instead of just posting the form back to the main page, can their be some feedback prompt popup msgbox to the user that the email has been registered?

 

thanks.

Link to comment
Share on other sites

it is possible, but in this case you will have to modify a lot of things.

if you want to display popup - you will have to add fancybox libraries to each page of your store (frontController modification)

it will be necessary to modify the template file to open fancybox popup window after "success" (adding email to newsletter)

it will not be as easy as it seems, unfortunately.

Link to comment
Share on other sites

  • 2 years later...
×
×
  • Create New...