September 30, 2015

Magento - static block display on col right sidebar.


- If you want to display static block in any page then you can add below code in page.xml file OR you can create your own local.xml file and put this code in that file.

<layout version="0.1.0">
  <default>
    <reference name="right">
      <block type="your/type" template="path/to/your/template.phtml" />
    </reference>
  </default>
</layout>


If you have any questions please comment me, I help you.

Enjoy!

No comments:

Post a Comment

Integrating Google reCAPTCHA v3 in HTML Form with PHP

  What is Google reCAPTCHA v3? Google reCAPTCHA is a free service that helps protect websites from spam and abuse. reCAPTCHA v3 is the lates...