Skip to content

canal-web/Magento_NewsletterPopup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Magento_NewsletterPopup

Manage a popup containing the newsletter form

Installation

composer require canal-web/magento-newsletter-form

Usage

Call the block anywhere you like in your layouts :

<block type="newsletterpopup/popup" name="newsletter_popup" template="newsletterpopup/template.phtml">
  <block type="newsletter/subscribe" name="newsletter_form" template="newsletterpopup/subscribe.phtml"/>
</block>

If needed, you may place it accurately in your template :

<?php echo $this->getChildHtml('newsletter_popup'); ?>

Settings

The popup settings are located under System > Configuration > Canal Web > Popup Newsletter. You may choose between an automatic or a manual trigger. If automatic, you may define the popup's arrival delay and the cookie duration, preventing the popup from appearing. To manually trigger the popup, use :

<a href="#" onclick="newsletterPopupCall('#popup_newsletter');">Click Me!</a>

About

Manage a popup containing the newsletter popup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published