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>
</block>
Step2 call you side-bar go to this location :
D:\xampp\htdocs\FE2U\app\design\frontend\base\default\template\page\2columns-right.phtml
<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