I am trying to create a static block on my homepage. So I added Static Block to the CMS Page Layout Update XML FIeld

Here is my code:

<reference name="left_first"> 
    <block type="cms/block" name="Offers"  before="-">
      <action method="setBlockId"><block_id>offer-link</block_id></action>

Here I was expecting one block in the left side of my Home page and i am getting that but in addition to this i am getting it twice.

enter image description here

  • Could you post how you declare the left_first reference ? Mar 16, 2016 at 11:11
  • 1
    I simply added the above code in home page Layout Update XML FIeld. Actually i copied this from somewhere. I am using rwd theme.. i dont know wheather it is correct or wrong. i am new to this.. :(
    – Sruthi
    Mar 16, 2016 at 11:14
  • 1
    What if you get rid of the before="-" ? Mar 16, 2016 at 11:38
  • Maybe left_first is added twice somewhere in the code? Mar 16, 2016 at 14:36
  • Thank you for your reply.. i have removed before="-". now its working fine as expected.. :)
    – Sruthi
    Mar 17, 2016 at 6:23

1 Answer 1


My problem was that I have used the same block name for multiple blocks. When I made sure they are all unique, then It was rendered just once.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.