Created
March 21, 2012 17:02
-
-
Save markshust/2149564 to your computer and use it in GitHub Desktop.
Magento apply one template to multiple layout handles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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