Skip to content

Instantly share code, notes, and snippets.

@Webbist-dev
Created November 27, 2014 15:16
Show Gist options
  • Save Webbist-dev/27378228f15a982a049d to your computer and use it in GitHub Desktop.
Save Webbist-dev/27378228f15a982a049d to your computer and use it in GitHub Desktop.
Moving blocks around in magento
<!-- FIND THE RELEVANT PART OF THE RELEVANT XML LAYOUT YOU NEED -->
<!-- Copy it into your local xml -->
<reference name="footer">
<!-- If creating a new block for use in layout - set a name, use type="core/templates" -->
<block type="core/templates" name="footer_menu" as="footer_menu" translate="label">
<label>Footer Menu</label>
</block>
<!-- In this example we will have a new block region in layouts named footer_menu -->
</reference>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment