Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How can put banners in my new template left column ? 
 
Kamboh
Jr. Member
 
Total Posts:  18
Joined:  2011-01-28
 

Hi,

I am trying to put some banners in left column of my new purchased magento template. I used free template before in magento 1.3.2.0 which has template/left_col.phtml to update the left column, i don’t find this file in 1.5.0.1 template.

I am not getting how can i put some banners in my left column, Secondly i want to move category menu down and related products up.

Page.xml file shows this block

<block type="core/text_list" name="left" as="left" translate="label">
<label>Left Column</label>
</block>

2columns-left.phmtl file shows this code

<head>
<?php echo $this->getChildHtml('head') ?>
</head>
<body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
<?php echo $this->getChildHtml('after_body_start') ?>
<div class="wrapper">
<?php echo $this->getChildHtml('global_notices') ?>
<div class="page">
<?php echo $this->getChildHtml('header') ?>
<div class="main-container col2-left-layout">
<div class="main">
<div class="col-main">
<?php echo $this->getChildHtml('breadcrumbs') ?>
<?php echo $this->getChildHtml('global_messages') ?>
<?php echo $this->getChildHtml('content') ?>
</div>
<div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
</div>
</div>
<?php echo $this->getChildHtml('footer') ?>
<?php echo $this->getChildHtml('before_body_end') ?>
</div>
</div>
<?php echo $this->getAbsoluteFooter() ?>
</body>

Can some body help me to understand, how could i put banners in left column and move category menu ???????

Thanks

Kamboh

 
Magento Community Magento Community
Magento Community
Magento Community
 
sushilshirbhate
Member
 
Avatar
Total Posts:  53
Joined:  2009-10-23
 

Hi Kamboh,

Firstly create static block and then you can show it in left side.
See following link for how create static block.
http://www.magentocommerce.com/media/screencasts/static-blocks/view

Thanks,
Sushil Shirbhate

 
Magento Community Magento Community
Magento Community
Magento Community
 
brunomarshall
Guru
 
Avatar
Total Posts:  367
Joined:  2009-08-04
 

Hello ,
Create a static block in admin side then call the static block in side your left side bar in xml file
for example you can load it in catalog.xml file
in

<reference name ="left">
            <
block type="cms/block" name="delivery-ad" after="right-best-price">
                <
action method="setBlockId"><block_id>your-block-code</block_id></action>
            </
block>
</
reference>
This is method of calling simple static block inside catalog.xml
 
Magento Community Magento Community
Magento Community
Magento Community
 
Kamboh
Jr. Member
 
Total Posts:  18
Joined:  2011-01-28
 

Thanks for the reply, i’ll check them.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top