September 1, 2015

NEWSLETTER SUBSCRIBE CODE MOVE AT FOOTER IN MAGENTO



First you can create a block on the fly and position it precisely in your template files with one line of code:

Add this code: 

<?php echo $this->getLayout()->createBlock('newsletter/subscribe')->setTemplate('newsletter/subscribe.phtml')->toHtml(); ?>


Enjoy!

No comments:

Post a Comment

1980s Photo Prompts: Easy Online Copy & Paste

Are you on a quest to enhance your photography projects with a touch of nostalgic flair? Look no further than 1980s photo prompts. These car...