<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Log down all loaded layout handles in Magento on each request'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 07 Apr 2026 22:25:24 +0000</lastBuildDate>
    <item>
      <title>charllykorpa8698 said on 29/Dec/2022</title>
      <link>https://snipplr.com/view/61215/log-down-all-loaded-layout-handles-in-magento-on-each-request</link>
      <description>&lt;p&gt;"In Magento, layout handles are used to specify the layout of a page. Layout handles can be loaded on each request, and can be used to customize the layout of a page. To log down all loaded layout handles in Magento, you can use the following code:
```
$loadedLayoutHandles = Mage::getSingleton('core/layout')-&gt;getLayout()-&gt;getUpdate()-&gt;getHandles();
foreach($loadedLayoutHandles as $handle) {
    Mage::log($handle, null, 'layout.log');
}
```
This code will log all layout handles that are &lt;a href="https://radiantcutbaguettes.com"&gt;diamonds rings for cheap&lt;/a&gt;  loaded on each request. You can then use this information to customize the layout
"&lt;/p&gt;</description>
      <pubDate>Thu, 29 Dec 2022 03:40:40 UTC</pubDate>
      <guid>https://snipplr.com/view/61215/log-down-all-loaded-layout-handles-in-magento-on-each-request</guid>
    </item>
  </channel>
</rss>
