Skip to content

Instantly share code, notes, and snippets.

@tonyoconnell
Created September 13, 2012 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonyoconnell/3714057 to your computer and use it in GitHub Desktop.
Save tonyoconnell/3714057 to your computer and use it in GitHub Desktop.
Magento : Add static block to PHTML
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('MYBLOCK')->toHtml() ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment