Skip to content

Instantly share code, notes, and snippets.

@eqdw
Created November 16, 2010 05:18
Show Gist options
  • Save eqdw/701472 to your computer and use it in GitHub Desktop.
Save eqdw/701472 to your computer and use it in GitHub Desktop.
<!-- IN page.xml -->
<!-- this defines a "content block" in the layout of the page. -->
<block name="Foo">
<!-- yada yada yada -->
</block>
<!-- in ANY OTHER xml file -->
<reference name="Foo">
<!-- anything can happen here. You can add additional things to blocks. You can remove them. IT'S A MAD HOUSE! -->
<!-- I'm pretty sure you could even redact block Foo entirely. Although that would be terrible from
a code-organization point of view -->
</reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment