JM_WALL sidebar content and blocks

Dear all,

I am newbie to Magento platform.

How do you control the JM_wall (ja-sidebar) sidebar column content? I have demo site and there is content in the sidebar on some of my pages. How do you add or remove those blocks?

Thank you in advance.

1 answer

Profile photo of Sherlock 0.00 $tone December 12, 2012
Public

Hi theexten,

The sidebar displays child-blocks of left and right blocks, you can add or remove those blocks for a specific pages by searching for any block which has reference is left or right at those page layout files , For example if you want to remove the callout left and right blocks, open the catalog layout file of app\design\frontend\default\jm_haga\layout\catalog .xml and remove those block tags

HTML Code:

    <!-- Mage_Catalog -->
        <reference name="left">
            <block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
                <action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action>
                <action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action>
                <action method="setLinkUrl"><url>checkout/cart</url></action>
            </block>
        </reference>
        <reference name="right">
            <block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
            <block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml">
                <action method="setImgSrc"><src>images/media/col_right_callout.jpg</src></action>
                <action method="setImgAlt" translate="alt" module="catalog"><alt>Keep your eyes open for our special Back to School items and save A LOT!</alt></action>
            </block>
        </reference>

Hope you got it, let me know if still any doubts you have.

#1

Please login or Register to Submit Answer

Written By

Comments