In response to a retweet of adam_webdev by kalenjordan Magento’s flexible layout system makes adding a javascript library like handlebars a cinch. First, download the latest version of handlebars and drop it in your root javascript folder js/handlebars-v1.3.0.js Next, add the following to your local.xml file. <layout> <!-- [...]
astorm
Recursive Layout Updates won’t Work in CMS Page Model Meaning you can’t use the <update handle="foo"/> syntax when you’re entering a custom layout update to use on a specific XML field. I encounter this bug about a once a year.
astorm
Update: Turns out the previous post was missing a <layout> tag in the code examples. This has been fixed, and we regret the error. (Thanks to Bartosz Cisek, proprietor of brillan.pl, for the correction) I was surprised to discover I hadn’t covered this anywhere other than No Frills Magento Layout. The XML files in a [...]
astorm
This one might be greek to people who haven’t read No Frills Magento Layout, but I’d like it spelled out so I don’t have to think about it again. (If you don’t own a copy, there are worse ways to learn Magento). When Magento is loading handles from the Layout Update XML Files into the package layout, these updates [...]
astorm