Friday, May 17, 2013

how to create custom side bar in magento and assign to this side bar youpage.phtml

Step 1-Go to app\design\frontend\base\default\layout\page.xml
create your side bar name

 <block type="quickrfq/quickrfq" name="custom-right" as="custom-right" translate="label"  template="quickrfq/quickrfq.phtml">
 <label>Custom Column Right</label>
Step2 call you side-bar go to this location :
<div class="col-right sidebar"><?php echo $this->getChildHtml('custom-right') ?></div>

after that do catch and indexing clear by admin

No comments:

Post a Comment