Skip to content

Instantly share code, notes, and snippets.

@markshust
Created March 21, 2012 17:02
Show Gist options
  • Save markshust/2149564 to your computer and use it in GitHub Desktop.
Save markshust/2149564 to your computer and use it in GitHub Desktop.
Magento apply one template to multiple layout handles
<?xml version="1.0"?>
<layout>
<my_updated_template>
<reference name="root">
<tpl>page/2columns-left.phtml</tpl>
</reference>
<my_updated_template>
<catalog_category_layered>
<update handle="my_updated_template" />
</catalog_category_layered>
<catalog_category_layered_nochildren>
<update handle="my_updated_template" />
</catalog_category_layered_nochildren>
<catalog_category_default>
<update handle="my_updated_template" />
</catalog_category_default>
<catalogsearch_advanced_result>
<update handle="my_updated_template" />
</catalogsearch_advanced_result>
<layout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment