/ Published in: PHP
Snippet for logging down all of the layout updates loaded on each request in Magento.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//Full path to the log file: //Layout model: Mage_Core_Model_Layout $layout = Mage::getSingleton('core/layout'); //Generate our xml with Mage_Core_Layout_Update model and save it in a file $xml = '<'.'?xml version="1.0"?'.'>';