Categories

Featured templates

How to manage callouts (sidebar banners) in Magento

Chris Diaz May 23, 2011
Rating: 2.3/5. From 3 votes.
Please wait...

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>

Magento Store Templates
This entry was posted in Magento Tutorials and tagged banner, callout, Magento, sidebar. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket