- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
How to manage callouts (sidebar banners) in Magento
May 23, 2011
The following tutorial will show you how to manage the sidebar images (called callouts) in Magento. It’s an easy task, but finding them requires a small bit of digging (as usual).
To make locating callouts easy we recommend you to enable the debug tools.
After enabling the Template Path Hints and Block Names you can see that the template files (phtml files) which include the html for the callouts are located at:
app/design/frontend/*/*/template/callouts/right_col.phtml
app/design/frontend/*/*/template/callouts/left_col.phtml
You can also see that the block is being added onto your Magento install via catalog.xml
app/design/frontend/*/*/layout/catalog.xml
Remove Callout
Open app/design/frontend/*/*/layout/catalog.xml, locate <reference name="right"> for the right column or <reference name="left"> for the left column. Replace
<block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"/>
With
<!--<block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"/>-->
Or remove the line
Move Callout from right to left
In the same catalog.xml file copy the
<block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"/>
From the
<reference name="right">…</reference>
to
<reference name="left">…</reference>