This is my Local.XML

<reference name="header">
        <block type="cms/block" name="topsocial" as="topsocial">
        <action method="setBlockId"><block_id>topsocial</block_id>

This is my header.phtml placement

<?php echo $this->getChildHtml('topsocial') ?>

I created the static block in the admin panel with the same name. May I ask why its not working? The block is 4 LI's with Font Awesome icons.

  • change alias name and name of block
    – Amit Bera
    Nov 13, 2014 at 18:44
  • where have you added that code?
    – Amit Bera
    Nov 13, 2014 at 18:45
  • Its in my header.phtml. Change alias and name? Do they conflict? Nov 13, 2014 at 18:48
  • no..just change change alias name and name of block for any reason same block name is used in other page
    – Amit Bera
    Nov 13, 2014 at 18:51

1 Answer 1


I figured it out. The error was in my xml. I forgot to wrap my reference tags inside of default tags.


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.