Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 15th, 2013  |  syntax: XML  |  size: 12.98 KB  |  hits: 31  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Magento
  5. *
  6. * NOTICE OF LICENSE
  7. *
  8. * This source file is subject to the Academic Free License (AFL 3.0)
  9. * that is bundled with this package in the file LICENSE_AFL.txt.
  10. * It is also available through the world-wide-web at this URL:
  11. * http://opensource.org/licenses/afl-3.0.php
  12. * If you did not receive a copy of the license and are unable to
  13. * obtain it through the world-wide-web, please send an email
  14. * to license@magentocommerce.com so we can send you a copy immediately.
  15. *
  16. * DISCLAIMER
  17. *
  18. * Do not edit or add to this file if you wish to upgrade Magento to newer
  19. * versions in the future. If you wish to customize Magento for your
  20. * needs please refer to http://www.magentocommerce.com for more information.
  21. *
  22. * @category    design
  23. * @package     base_default
  24. * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
  25. * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
  26. */
  27.  
  28. Supported layout update handles (action):
  29. - customer_account_index
  30. - customer_address_index
  31. - customer_address_view
  32. - customer_account_login
  33. - customer_account_logoutsuccess
  34. - customer_account_create
  35. - customer_account_forgotpassword
  36. - customer_account_confirmation
  37. - customer_account_edit
  38.  
  39. Supported layout update handles (special):
  40. - default
  41.  
  42. -->
  43. <layout version="0.1.0">
  44.  
  45. <!--
  46. Default layout, loads most of the pages
  47. -->
  48.  
  49.     <default>
  50.         <!-- Mage_Customer -->
  51.         <reference name="top.links">
  52.             <action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/><position>10</position></action>
  53.         </reference>
  54.     </default>
  55.  
  56. <!--
  57. Load this update on every page when customer is logged in
  58. -->
  59.  
  60. <customer_logged_in>
  61.         <reference name="top.links.left">
  62.                 <action method="addLink" translate="label title" module="customer"><label>Log Out</label><url helper="customer/getLogoutUrl"/><title>Log Out</title><prepare/><urlParams/><position>100</position></action>
  63.         </reference>
  64. </customer_logged_in>
  65.  
  66. <!--
  67. Load this update on every page when customer is logged out
  68. -->
  69.  
  70.         <customer_logged_out>
  71.         <reference name="top.links.left">
  72.                 <action method="addLink" translate="label title" module="customer"><label>Log In</label><url helper="customer/getLoginUrl"/><title>Log In</title><prepare/><urlParams/><position>100</position></action>
  73.         </reference>
  74. </customer_logged_out>
  75.  
  76. <!--
  77. Layout for customer login page
  78. -->
  79.  
  80.     <customer_account_login translate="label">
  81.         <label>Customer Account Login Form</label>
  82.         <!-- Mage_Customer -->
  83.         <remove name="right"/>
  84.         <remove name="left"/>
  85.  
  86.         <reference name="root">
  87.             <action method="setTemplate"><template>page/1column.phtml</template></action>
  88.         </reference>
  89.         <reference name="content">
  90.             <block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml" />
  91.         </reference>
  92.     </customer_account_login>
  93.  
  94. <!--
  95. Layout for customer log out page
  96. -->
  97.  
  98.     <customer_account_logoutsuccess translate="label">
  99.         <label>Customer Account Logout Success</label>
  100.         <!-- Mage_Customer -->
  101.         <remove name="right"/>
  102.         <remove name="left"/>
  103.  
  104.         <reference name="root">
  105.             <action method="setTemplate"><template>page/1column.phtml</template></action>
  106.         </reference>
  107.         <reference name="content">
  108.             <block type="core/template" name="customer_logout" template="customer/logout.phtml"/>
  109.         </reference>
  110.     </customer_account_logoutsuccess>
  111.  
  112. <!--
  113. New customer registration
  114. -->
  115.  
  116.     <customer_account_create translate="label">
  117.         <label>Customer Account Registration Form</label>
  118.         <!-- Mage_Customer -->
  119.         <remove name="right"/>
  120.         <remove name="left"/>
  121.  
  122.         <reference name="root">
  123.             <action method="setTemplate"><template>page/1column.phtml</template></action>
  124.         </reference>
  125.         <reference name="content">
  126.             <block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml">
  127.                 <block type="page/html_wrapper" name="customer.form.register.fields.before" as="form_fields_before" translate="label">
  128.                     <label>Form Fields Before</label>
  129.                 </block>
  130.             </block>
  131.         </reference>
  132.     </customer_account_create>
  133.  
  134.     <customer_account_forgotpassword translate="label">
  135.         <label>Customer Forgot Password Form</label>
  136.         <remove name="right"/>
  137.         <remove name="left"/>
  138.  
  139.         <reference name="head">
  140.             <action method="setTitle" translate="title" module="customer"><title>Forgot Your Password</title></action>
  141.         </reference>
  142.         <reference name="root">
  143.             <action method="setTemplate"><template>page/1column.phtml</template></action>
  144.             <action method="setHeaderTitle" translate="title" module="customer"><title>Password forgotten</title></action>
  145.         </reference>
  146.         <reference name="content">
  147.             <!--<block type="core/template" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>-->
  148.             <block type="customer/account_forgotpassword" name="forgotPassword" template="customer/form/forgotpassword.phtml" />
  149.         </reference>
  150.     </customer_account_forgotpassword>
  151.  
  152.     <customer_account_resetpassword translate="label">
  153.         <label>Reset a Password</label>
  154.         <remove name="right"/>
  155.         <remove name="left"/>
  156.  
  157.         <reference name="head">
  158.             <action method="setTitle" translate="title" module="customer">
  159.                 <title>Reset a Password</title>
  160.             </action>
  161.         </reference>
  162.         <reference name="root">
  163.             <action method="setTemplate">
  164.                 <template>page/1column.phtml</template>
  165.             </action>
  166.             <action method="setHeaderTitle" translate="title" module="customer">
  167.                 <title>Reset a Password</title>
  168.             </action>
  169.         </reference>
  170.         <reference name="content">
  171.             <block type="customer/account_resetpassword" name="resetPassword" template="customer/form/resetforgottenpassword.phtml"/>
  172.         </reference>
  173.     </customer_account_resetpassword>
  174.  
  175.     <customer_account_confirmation>
  176.         <remove name="right"/>
  177.         <remove name="left"/>
  178.  
  179.         <reference name="root">
  180.             <action method="setTemplate"><template>page/1column.phtml</template></action>
  181.             <action method="setHeaderTitle" translate="title" module="customer"><title>Send confirmation link</title></action>
  182.         </reference>
  183.         <reference name="content">
  184.             <block type="core/template" name="accountConfirmation" template="customer/form/confirmation.phtml"/>
  185.         </reference>
  186.     </customer_account_confirmation>
  187.  
  188.     <customer_account_edit translate="label">
  189.         <label>Customer Account Edit Form</label>
  190.         <update handle="customer_account"/>
  191.         <reference name="root">
  192.             <action method="setHeaderTitle" translate="title" module="customer"><title>Edit Account Info</title></action>
  193.         </reference>
  194.         <reference name="my.account.wrapper">
  195.             <block type="customer/form_edit" name="customer_edit" template="customer/form/edit.phtml"/>
  196.         </reference>
  197.  
  198.         <reference name="left">
  199.           <action method="unsetChild"><name>left.permanent.callout</name></action>
  200.         </reference>
  201.     </customer_account_edit>
  202.  
  203. <!--
  204. Customer account pages, rendered for all tabs in dashboard
  205. -->
  206.     <customer_account translate="label">
  207.         <label>Customer My Account (All Pages)</label>
  208.         <!--remove name="catalog.compare.sidebar"/>
  209.        <remove name="sale.reorder.sidebar"/-->
  210.         <!-- Mage_Customer -->
  211.         <reference name="root">
  212.             <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
  213.         </reference>
  214.  
  215.         <reference name="content">
  216.             <block type="page/html_wrapper" name="my.account.wrapper" translate="label">
  217.                 <label>My Account Wrapper</label>
  218.                 <action method="setElementClass"><value>my-account</value></action>
  219.             </block>
  220.             <!--<block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
  221.                <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
  222.                <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
  223.                <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
  224.            </block>-->
  225.         </reference>
  226.         <reference name="left">
  227.             <block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
  228.                 <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
  229.                 <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
  230.                 <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
  231.             </block>
  232.             <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml">
  233.                 <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
  234.                 <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
  235.                 <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
  236.             </block>
  237.             <block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
  238.             <remove name="tags_popular"/>
  239.             <remove name="catalog.leftnav"/>
  240.             <remove name="cart_sidebar"></remove>
  241.         </reference>
  242.     </customer_account>
  243.  
  244. <!--
  245. Customer account home dashboard layout
  246. -->
  247.  
  248.     <customer_account_index translate="label">
  249.         <label>Customer My Account Dashboard</label>
  250.         <update handle="customer_account"/>
  251.         <!-- Mage_Customer -->
  252.         <reference name="root">
  253.             <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
  254.         </reference>
  255.         <reference name="my.account.wrapper">
  256.             <block type="customer/account_dashboard" name="customer_account_dashboard" template="customer/account/dashboard.phtml">
  257.                 <block type="customer/account_dashboard_hello" name="customer_account_dashboard_hello" as="hello" template="customer/account/dashboard/hello.phtml"/>
  258.                 <block type="core/template" name="customer_account_dashboard_top" as="top" />
  259.                 <block type="customer/account_dashboard_info" name="customer_account_dashboard_info" as="info" template="customer/account/dashboard/info.phtml"/>
  260.                 <block type="customer/account_dashboard_newsletter" name="customer_account_dashboard_newsletter" as="newsletter" template="customer/account/dashboard/newsletter.phtml"/>
  261.                 <block type="customer/account_dashboard_address" name="customer_account_dashboard_address" as="address" template="customer/account/dashboard/address.phtml"/>
  262.             </block>
  263.         </reference>
  264.     </customer_account_index>
  265.  
  266. <!--
  267. Customer account address book
  268. -->
  269.  
  270.     <customer_address_index translate="label">
  271.         <label>Customer My Account Address Book</label>
  272.         <!-- Mage_Customer -->
  273.         <update handle="customer_account"/>
  274.         <reference name="my.account.wrapper">
  275.             <block type="customer/address_book" name="address_book" template="customer/address/book.phtml"/>
  276.         </reference>
  277.     </customer_address_index>
  278.  
  279. <!--
  280. Customer account address edit page
  281. -->
  282.  
  283.     <customer_address_form translate="label">
  284.         <label>Customer My Account Address Edit Form</label>
  285.         <!-- Mage_Customer -->
  286.         <update handle="customer_account"/>
  287.         <reference name="my.account.wrapper">
  288.             <block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
  289.         </reference>
  290.     </customer_address_form>
  291.  
  292. </layout>