Created
September 19, 2013 15:56
-
-
Save kevnk/6625587 to your computer and use it in GitHub Desktop.
Boilerplate Magento local.xml file
This file contains hidden or 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"?> | |
<!-- | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Academic Free License (AFL 3.0) | |
* that is bundled with this package in the file LICENSE_AFL.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/afl-3.0.php | |
* If you did not receive a copy of the license and are unable to | |
* obtain it through the world-wide-web, please send an email | |
* to [email protected] so we can send you a copy immediately. | |
* | |
* DISCLAIMER | |
* | |
* Do not edit or add to this file if you wish to upgrade Magento to newer | |
* versions in the future. If you wish to customize Magento for your | |
* needs please refer to http://www.magentocommerce.com for more information. | |
* | |
* @category design_default | |
* @package Mage | |
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com) | |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | |
*/ | |
--> | |
<layout version="0.1.0"> | |
<!-- | |
Default layout, loads most of the pages | |
--> | |
<default> | |
<reference name="root"> | |
<!-- change default (homepage) template in admin under CMS > Manage Pages --> | |
</reference> | |
<reference name="head"> | |
<action method="addJs"><script>jquery/jquery-1.7.2.min-noConflict.js</script></action> | |
<action method="addJs"><script>jquery/fancybox/jquery.fancybox-1.3.4.pack.js</script></action> | |
<action method="addItem"><type>js_css</type><stylesheet>jquery/fancybox/jquery.fancybox-1.3.4.css</stylesheet><params>media="all"</params></action> | |
<action method="addLinkRel"><rel>stylesheet</rel><href>http://fonts.googleapis.com/css?family=Gudea:400,700,400italic</href></action> | |
<action method="addItem"><type>skin_js</type><name>js/main.js</name></action> | |
</reference> | |
<reference name="header"> | |
</reference> | |
<reference name="left"> | |
<remove name="left.newsletter"/> | |
<remove name="catalog.compare.sidebar"/> | |
<remove name="cart_sidebar"/> | |
<!-- | |
<remove name="left.permanent.callout"/> | |
<remove name="left.poll"/> | |
<remove name="sale.reorder.sidebar"/> | |
--> | |
</reference> | |
<reference name="right"> | |
<remove name="right.permanent.callout"/> | |
<remove name="paypal.partner.right.logo"/> | |
<!-- | |
<remove name="left.reports.product.viewed"/> | |
<action method="unsetChild"><name>wishlist_sidebar</name></action> | |
<action method="unsetChild"><name>right.reports.product.viewed</name></action> | |
<remove name="cart_sidebar"/> | |
--> | |
</reference> | |
<reference name="footer"> | |
</reference> | |
</default> | |
<!-- CATALOG PAGES --> | |
<!-- Product Listing Page --> | |
<catalog_category_default> | |
</catalog_category_default> | |
<catalog_category_layered> | |
</catalog_category_layered> | |
<!-- Product Page --> | |
<catalog_product_view><!-- 2columns-right --> | |
</catalog_product_view> | |
<!-- Product Types --> | |
<PRODUCT_TYPE_simple> | |
<reference name="root"> | |
<action method="addBodyClass"><class>product-type-simple</class></action> | |
</reference> | |
</PRODUCT_TYPE_simple> | |
<PRODUCT_TYPE_grouped> | |
<reference name="root"> | |
<action method="addBodyClass"><class>product-type-grouped</class></action> | |
</reference> | |
</PRODUCT_TYPE_grouped> | |
<PRODUCT_TYPE_configurable> | |
<reference name="root"> | |
<action method="addBodyClass"><class>product-type-configurable</class></action> | |
</reference> | |
</PRODUCT_TYPE_configurable> | |
<PRODUCT_TYPE_bundle> | |
<reference name="root"> | |
<action method="addBodyClass"><class>product-type-bundle</class></action> | |
</reference> | |
</PRODUCT_TYPE_bundle> | |
<PRODUCT_TYPE_virtual> | |
<reference name="root"> | |
<action method="addBodyClass"><class>product-type-virtual</class></action> | |
</reference> | |
</PRODUCT_TYPE_virtual> | |
<PRODUCT_TYPE_downloadable> | |
<reference name="root"> | |
<action method="addBodyClass"><class>product-type-downloadable</class></action> | |
</reference> | |
</PRODUCT_TYPE_downloadable> | |
<!-- CONTACT PAGES --> | |
<contacts_index_index><!-- 2columns-right --> | |
</contacts_index_index> | |
<!-- CUSTOMER PAGES --> | |
<customer_account> | |
<reference name="root"> | |
<action method="addBodyClass"><class>customer-account</class></action> | |
</reference> | |
<reference name="left"> | |
<!-- <remove name="catalog.compare.sidebar"/> --> | |
<reference name="customer_account_navigation"> | |
<!-- | |
<action method="removeLinkByName"><name>account</name></action> | |
<action method="removeLinkByName"><name>account_edit</name></action> | |
<action method="removeLinkByName"><name>address_book</name></action> | |
<action method="removeLinkByName"><name>newsletter</name></action> | |
<action method="removeLinkByName"><name>orders</name></action> | |
<action method="removeLinkByName"><name>wishlist</name></action> | |
<action method="removeLinkByName"><name>reviews</name></action> | |
--> | |
<action method="removeLinkByName"><name>OAuth Customer Tokens</name></action> | |
<action method="removeLinkByName"><name>giftregistry</name></action> | |
<action method="removeLinkByName"><name>invitations</name></action> | |
<action method="removeLinkByName"><name>enterprise_reward</name></action> | |
<action method="removeLinkByName"><name>billing_agreements</name></action> | |
<action method="removeLinkByName"><name>recurring_profiles</name></action> | |
<action method="removeLinkByName"><name>downloadable_products</name></action> | |
<action method="removeLinkByName"><name>return</name></action> | |
<action method="removeLinkByName"><name>enterprise_customerbalance</name></action> | |
<action method="removeLinkByName"><name>enterprise_giftcardaccount</name></action> | |
</reference> | |
</reference> | |
</customer_account> | |
<customer_account_login><!-- 1column --> | |
</customer_account_login> | |
<customer_account_create><!-- 1column --> | |
</customer_account_create> | |
<customer_logged_in> | |
</customer_logged_in> | |
<customer_logged_out> | |
</customer_logged_out> | |
<!-- Catalog Search Pages --> | |
<catalogsearch_result_index><!-- 3columns --> | |
</catalogsearch_result_index> | |
<catalogsearch_advanced_index><!-- 2columns-right --> | |
</catalogsearch_advanced_index> | |
<catalogsearch_advanced_result><!-- 2columns-right --> | |
</catalogsearch_advanced_result> | |
<!-- REVIEW PAGES --> | |
<reviews><!-- 2columns-left --> | |
</reviews> | |
<review_product_list><!-- 2columns-right --> | |
</review_product_list> | |
<review_product_view><!-- 2columns-right --> | |
</review_product_view> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment