Adding a static block in category page

Hello I want to add a Static Block (with a simple image -- Like a Banner) in the right column in the category view and product view:

Category view:
http://magento-themes.joomlart.com/j…r-games/id/29/

Product view:
http://magento-themes.joomlart.com/j…h/category/29/

Thanks in advance.

8 answers

Profile photo of chavan 100.00 $tone August 1, 2011
Public

This change will collapse the product view.

If you Insert the right column the center content will shrink and layout will collapse

Please advice

#1
Profile photo of Ignacio Correia 0.00 $tone August 2, 2011
Public

I have changed the widths and margins of the template, I understand that it breaks the layout, but I will then fix it.

The idea is for the client to have an right side bar so he can insert Banners with links. I want to put 3 static block on the right side bar so then they can update them when ever they want.

Could you please explain to me how to insert a 3 column so I can put the static block there. I want to try to see if I can manage to to do this.

#2
Profile photo of chavan 100.00 $tone September 7, 2011
Public

Please post this File : \app\design\frontend\default\jm_natris\layout\layo ut.xml

I will add this code to the appropriate location and send you the file

Code:

<block type="cms/block" name="sample_block" before="-">
        <action method="setBlockId"><block_id>sample_block</block_id></action>
    </block>  

Note: If you Find my Post useful please click on the Thanks Icon

#7

This question is now closed

Written By

Comments