Skip to content

Instantly share code, notes, and snippets.

@eoghanobrien
Created November 2, 2011 18:15
Show Gist options
  • Select an option

  • Save eoghanobrien/1334410 to your computer and use it in GitHub Desktop.

Select an option

Save eoghanobrien/1334410 to your computer and use it in GitHub Desktop.
Adding a static block to a template
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('identifier')->toHtml() ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment