Skip to content

Instantly share code, notes, and snippets.

@yogeshdubey2006
Created June 25, 2019 05:38
Show Gist options
  • Save yogeshdubey2006/1d0909dfde9ea9f98cd7410b4bc6106c to your computer and use it in GitHub Desktop.
Save yogeshdubey2006/1d0909dfde9ea9f98cd7410b4bc6106c to your computer and use it in GitHub Desktop.
Magento - Newsletter second template
# app\design\frontend\packagename\default\template\newsletter\
<div style="background:#fff;" class="article right_section_col">
<div class="heading">
<h3><?php echo $this->__('Join Our Newsletter') ?></h3>
</div>
<form action="<?php echo $this->getUrl('newsletter/subscriber/new') ?>" method="post" id="newsletter_validate_detail_footer2">
<div style="margin-top:17px;" class="search-bar">
<input type="email" placeholder="Please Enter Emali..." maxlength="30" name="email" id="newsletter2" title="<?php echo $this->__('Sign up for our newsletter') ?>" class="sfield" />
<input type="submit" name="search" class="searchbutton" value="Submit" style="padding: 1px 0 0!important;" />
</div>
</form>
<script type="text/javascript">
//<![CDATA[
var newsletterSubscriberFormDetail = new VarienForm('newsletter_validate_detail_footer2');
//]]>
</script>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment