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

Simple layout question
 
dagobert renouf
Jr. Member
 
Avatar
Total Posts:  26
Joined:  2008-07-03
 

Hello everyone,

I want to add something to my right column in the product view layout.
So I change the catalog.xml file to add a reference.

Originally I add this

<catalog_product_view>
        <!-- 
Mage_Catalog -->
        <!-- 
I cutted out a lot of code for you to see things more clearly -->
        <
reference name="right">
            <
block type="catalog/product_list_related" name="catalog.product.related" before="-" template="catalog/product/list/related.phtml"/>
        </
reference>
 </
catalog_product_view>

And now I have this

Originally I add this

<catalog_product_view>
        <!-- 
Mage_Catalog -->
        <!-- 
I cutted out a lot of code for you to see things more clearly -->
        <
reference name="right">
            <
block type="catalog/product_list_related" name="catalog.product.related" before="-" template="catalog/product/list/related.phtml"/>
            <
block type="catalog/product_list_sidebar" name="catalog.product.sidebar" before="-" template="catalog/product/list/sidebar.phtml"/>
        </
reference>
 </
catalog_product_view>

However the sidebar wont show, and it’s the same for every box I try to add, what am I missing ?

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