Skip to content

Instantly share code, notes, and snippets.

@fballiano
Created July 17, 2014 09:20
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 fballiano/1e7b6acba399d1e61940 to your computer and use it in GitHub Desktop.
Save fballiano/1e7b6acba399d1e61940 to your computer and use it in GitHub Desktop.
Magento: controller bootstrapping layout and messages
public function indexAction()
{
$this->loadLayout();
$this->_initLayoutMessages("customer/session");
$this->_initLayoutMessages("catalog/session");
$this->renderLayout();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment