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

The Future of Technology: Emerging Trends to Watch in 2025

Introduction As we navigate through 2025, the technological landscape continues to evolve at an unprecedented pace. Innovations that once se...