Skip to content

Instantly share code, notes, and snippets.

@Kingsy
Created October 14, 2015 09:50
Show Gist options
  • Save Kingsy/fbdf3e0aa60d61341a95 to your computer and use it in GitHub Desktop.
Save Kingsy/fbdf3e0aa60d61341a95 to your computer and use it in GitHub Desktop.
public function diamondAction() {
/**
* Lets assume only one extra param is being passed for now
*/
$params = $this->getRequest()->getParams();
Mage::register('cmstemplate_navigation/grid', array("diamond",key($params)));
$this->loadLayout()->renderLayout();
Mage::unregister('cmstemplate_navigation/grid');
}
<?php $_data = Mage::helper('cmstemplate/data')->getData(implode(".",array_filter($_key))) ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment