magento layout xml debug tips

Debug Your Layout
Published on December 23rd, 2010

So, you’ve created your module, added layout files and templates, but they are not showing up on front? You can see what’s going on with your layouts using Mage::log() method in your controller. The code below would log loaded layout handles and compiled layout update string into var/log/layout.log file. Don’t forget to enable debug mode in your index.php, see how to do it. public function testAction() { $this->loadLayout(); // …