Reputation: 539
How can add static block
to side bar
<block type="static block" name="static.poll" before="cart_sidebar">
Am using the above code but still error
Upvotes: 1
Views: 6769
Reputation: 1963
Check it
http://dx3webs.com/front/2010/11/how-to-add-a-static-block-to-the-side-bar/
hope this will helps you
Upvotes: 2
Reputation: 185
Use this code ..
<action method="setBlockId"><block_id>STATIC_BLOCK_ID</block_id></action> </block> <reference>
Hope this helps..
Upvotes: 2
Reputation: 1746
The best way to do this is create "local.xml" file in your themes layout section and place below code.
<layout version="0.1.0">
<default>
<reference name="right">
<block type="cms/block" name="your-block-identifier" before="-">
<action method="setBlockId"><block_id>your-block-identifier</block_id></action>
</block>
</reference>
</default>
</layout>
Upvotes: 3