Adding a Static Block to All Pages in Magento 1 – Left Column Guide

cmslayoutmagento-1phtmlstatic-block

I somewhat understand how to add static blocks but this issue seems a little different. Here is the situation, I just had a year make model module installed to my magento installation, and that created two phtml files. The installers created a CMS page that had the following callout in it to make the page.

{{block type="core/template" template="catalog/product/ymme-search.phtml"}}

Now my issue is that this is suppose to show up in the left column not being a page of it own. How do I take that same callout and make it a static block and/or add it to the left column, where it is suppose to be?

Best Answer

This is possible with CMS configuration only and no code:

  1. Create a static block for the content to display:

    {{block type="core/template" template="catalog/product/ymme-search.phtml"}}
    
  2. Create a new widget instance (CMS > Widgets) and select your theme screenshot (2)

  3. Add Layout Update for page "All Pages" and reference "Left Column" screenshot (3)

  4. Select the static block from (1) in "Widget Options": screenshot (4)

  5. Save.

  6. Clean cache.