xml 删除我的帐户侧栏链接
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xml 删除我的帐户侧栏链接相关的知识,希望对你有一定的参考价值。
<?xml version="1.0"?>
<layout version="0.1.0">
<!--
<customer_account>
<reference name="customer_account_navigation">
<action method="addLink" translate="label" module="downloadable"><name>downloadable_products</name><path>downloadable/customer/products</path><label>My Downloadable Products</label></action>
</reference>
</customer_account>
-->
<downloadable_customer_products translate="label">
<label>Customer My Account Downloadable Items</label>
<update handle="customer_account"/>
<reference name="my.account.wrapper">
<block type="downloadable/customer_products_list" name="downloadable_customer_products_list" template="downloadable/customer/products/list.phtml" />
</reference>
<reference name="root">
<action method="setHeaderTitle" translate="title" module="downloadable"><title>My Downloadable Products</title></action>
</reference>
</downloadable_customer_products>
<checkout_cart_index>
<reference name="checkout.cart">
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/cart/item/default.phtml</template></action>
</reference>
</checkout_cart_index>
<checkout_onepage_review>
<reference name="root">
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
</reference>
</checkout_onepage_review>
<checkout_onepage_success>
<reference name="checkout.success">
<block type="downloadable/checkout_success" name="downloadable.checkout.success" template="downloadable/checkout/success.phtml"/>
</reference>
</checkout_onepage_success>
<checkout_multishipping_addresses>
<reference name="checkout_addresses">
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
</reference>
</checkout_multishipping_addresses>
<checkout_multishipping_shipping>
<reference name="checkout_billing_items">
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
</reference>
</checkout_multishipping_shipping>
<checkout_multishipping_overview>
<reference name="checkout_overview">
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
</reference>
</checkout_multishipping_overview>
<checkout_multishipping_success>
<reference name="checkout_success">
<block type="downloadable/checkout_success" name="downloadable.checkout.success" template="downloadable/checkout/success.phtml"/>
</reference>
</checkout_multishipping_success>
<paypal_express_review>
<reference name="paypal.express.review.details">
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
</reference>
</paypal_express_review>
<paypal_express_review_details>
<reference name="root">
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
</reference>
</paypal_express_review_details>
<paypaluk_express_review>
<reference name="paypal.express.review.details">
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
</reference>
</paypaluk_express_review>
<paypaluk_express_review_details>
<reference name="root">
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
</reference>
</paypaluk_express_review_details>
<sales_order_view>
<reference name="order_items">
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
</reference>
</sales_order_view>
<sales_order_invoice>
<reference name="invoice_items">
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
</reference>
</sales_order_invoice>
<sales_order_creditmemo>
<reference name="creditmemo_items">
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
</reference>
</sales_order_creditmemo>
<!--
Print pages
-->
<sales_order_print>
<reference name="sales.order.print">
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
</reference>
</sales_order_print>
<sales_order_printinvoice>
<reference name="sales.order.print.invoice">
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
</reference>
</sales_order_printinvoice>
<sales_order_printcreditmemo>
<reference name="sales.order.print.creditmemo">
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
</reference>
</sales_order_printcreditmemo>
<!--
EOF Print pages
-->
<!--
For guests
-->
<sales_guest_view>
<reference name="order_items">
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
</reference>
</sales_guest_view>
<sales_guest_invoice>
<reference name="invoice_items">
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
</reference>
</sales_guest_invoice>
<sales_guest_creditmemo>
<reference name="creditmemo_items">
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
</reference>
</sales_guest_creditmemo>
<sales_guest_print>
<reference name="sales.order.print">
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
</reference>
</sales_guest_print>
<sales_guest_printinvoice>
<reference name="sales.order.print.invoice">
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
</reference>
</sales_guest_printinvoice>
<sales_guest_printcreditmemo>
<reference name="sales.order.print.creditmemo">
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
</reference>
</sales_guest_printcreditmemo>
<!--
Emails
-->
<sales_email_order_items>
<reference name="items">
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_order_downloadable</block><template>downloadable/email/order/items/order/downloadable.phtml</template></action>
</reference>
</sales_email_order_items>
<sales_email_order_invoice_items>
<reference name="items">
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_downloadable</block><template>downloadable/email/order/items/invoice/downloadable.phtml</template></action>
</reference>
</sales_email_order_invoice_items>
<sales_email_order_creditmemo_items>
<reference name="items">
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_downloadable</block><template>downloadable/email/order/items/creditmemo/downloadable.phtml</template></action>
</reference>
</sales_email_order_creditmemo_items>
<PRODUCT_TYPE_downloadable translate="label" module="downloadable">
<label>Catalog Product View (Downloadable)</label>
<reference name="product.info">
<block type="downloadable/catalog_product_view_type" name="product.info.downloadable" as="product_type_data" template="downloadable/catalog/product/type.phtml">
<block type="downloadable/catalog_product_samples" name="product.info.downloadable.samples" as="samples" template="downloadable/catalog/product/samples.phtml"/>
<block type="cataloginventory/stockqty_default" name="product.info.downloadable.extra" as="product_type_data_extra" template="cataloginventory/stockqty/default.phtml"/>
</block>
</reference>
<reference name="product.info.options.wrapper">
<block type="downloadable/catalog_product_links" name="product.info.downloadable.options" as="type_downloadable_options" before="-" template="downloadable/catalog/product/links.phtml"/>
<action method="insert"><block>product.info.downloadable.options</block></action>
</reference>
</PRODUCT_TYPE_downloadable>
</layout>
<?xml version="1.0"?>
<layout version="1.0.0.0">
<oauth_root_handle>
<reference name="root">
<action method="setTemplate">
<template>page/1column.phtml</template>
</action>
</reference>
<reference name="head">
<action method="removeItem"><type>js</type><name>lib/ccard.js</name></action>
<action method="removeItem"><type>js</type><name>scriptaculous/controls.js</name></action>
<action method="removeItem"><type>js</type><name>scriptaculous/builder.js</name></action>
<action method="removeItem"><type>js</type><name>scriptaculous/dragdrop.js</name></action>
<action method="removeItem"><type>js</type><name>scriptaculous/controls.js</name></action>
<action method="removeItem"><type>js</type><name>scriptaculous/slider.js</name></action>
<action method="removeItem"><type>js</type><name>varien/js.js</name></action>
<action method="removeItem"><type>js</type><name>varien/menu.js</name></action>
</reference>
<remove name="top.links"/>
<remove name="top.search"/>
<remove name="top.menu"/>
<remove name="footer"/>
</oauth_root_handle>
<oauth_root_handle_simple>
<remove name="js_cookie" />
<block type="page/html" name="root" output="toHtml" template="page/empty.phtml">
<block type="page/html_head" name="head" as="head" template="oauth/authorize/head-simple.phtml">
<action method="addCss"><stylesheet>css/oauth-simple.css</stylesheet></action>
</block>
<block type="core/text_list" name="content"/>
</block>
</oauth_root_handle_simple>
<!-- Authorization -->
<oauth_authorize_index translate="label">
<update handle="oauth_root_handle"/>
<label>OAuth authorization for customer</label>
<reference name="content">
<block type="oauth/authorize" name="oauth.authorize.form" template="oauth/authorize/form/login.phtml"/>
<block type="oauth/authorize_button" name="oauth.authorize.button" template="oauth/authorize/button.phtml" />
</reference>
</oauth_authorize_index>
<oauth_authorize_simple translate="label">
<update handle="oauth_root_handle_simple"/>
<remove name="header"/>
<label>OAuth authorization Pop Up for customer</label>
<reference name="content">
<block type="oauth/authorize" name="oauth.authorize.form" template="oauth/authorize/form/login-simple.phtml"/>
<block type="oauth/authorize_button" name="oauth.authorize.button" template="oauth/authorize/button-simple.phtml" />
</reference>
</oauth_authorize_simple>
<!-- EOF Authorization -->
<!-- Confirm Authorization -->
<oauth_authorize_confirm translate="label">
<update handle="oauth_root_handle"/>
<label>Confirm OAuth token authorization</label>
<reference name="content">
<block type="oauth/authorize_button" name="oauth.authorize.confirm" template="oauth/authorize/confirm.phtml"/>
</reference>
</oauth_authorize_confirm>
<oauth_authorize_confirmsimple translate="label">
<update handle="oauth_root_handle_simple"/>
<remove name="header"/>
<reference name="content">
<block type="oauth/authorize_button" name="oauth.authorize.confirm" template="oauth/authorize/confirm-simple.phtml"/>
</reference>
</oauth_authorize_confirmsimple>
<!-- EOF Confirm Authorization -->
<!-- Reject Authorization -->
<oauth_authorize_reject translate="label">
<update handle="oauth_root_handle"/>
<label>Reject OAuth token authorization</label>
<reference name="content">
<block type="oauth/authorize_button" name="oauth.authorize.reject" template="oauth/authorize/reject.phtml"/>
</reference>
</oauth_authorize_reject>
<oauth_authorize_rejectsimple translate="label">
<update handle="oauth_root_handle_simple"/>
<remove name="header"/>
<reference name="content">
<block type="oauth/authorize_button" name="oauth.authorize.reject" template="oauth/authorize/reject-simple.phtml"/>
</reference>
</oauth_authorize_rejectsimple>
<!-- EOF Reject Authorization -->
<!-- My Applications
<customer_account>
<reference name="customer_account_navigation">
<action method="addLink" translate="label" module="oauth">
<name>OAuth Customer Tokens</name>
<path>oauth/customer_token</path>
<label>My Applications</label>
</action>
</reference>
</customer_account>
-->
<oauth_customer_token_index translate="label">
<label>Customer My Account My OAuth Applications</label>
<update handle="customer_account"/>
<reference name="my.account.wrapper">
<block type="oauth/customer_token_list" name="oauth_customer_token_list" template="oauth/customer/token/list.phtml"/>
</reference>
</oauth_customer_token_index>
<!-- EOF My Applications-->
</layout>
<?xml version="1.0"?>
<layout version="0.1.0">
<!--
<customer_account>
<reference name="customer_account_navigation" >
<action method="addLink" translate="label"><name>recurring_profiles</name><path>sales/recurring_profile/</path><label>Recurring Profiles</label></action>
</reference>
</customer_account>
-->
<sales_recurring_profile_index>
<update handle="customer_account"/>
<reference name="root">
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
</reference>
<reference name="my.account.wrapper">
<block type="sales/recurring_profiles" name="sales.recurring.profiles" template="sales/recurring/profiles.phtml">
<block type="sales/recurring_profiles" name="sales.recurring.profiles.grid" as="grid" template="sales/recurring/grid.phtml">
<action method="prepareProfilesGrid"/>
<action method="setEmptyGridMessage" translate="value"><value>There are no recurring profiles yet.</value></action>
<action method="setGridHtmlId"><value>recurring_profile_list_view</value></action>
</block>
</block>
</reference>
</sales_recurring_profile_index>
<sales_recurring_profile_view__tabs>
<reference name="root">
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
</reference>
<reference name="my.account.wrapper">
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view" template="sales/recurring/profile/view.phtml">
<action method="prepareViewData"/>
<action method="setShouldPrepareInfoTabs"><value>1</value></action>
<block type="core/text" as="profile_info" name="sales.recurring.profile.view.tab.profile">
<action method="addToParentGroup"><value>info_tabs</value></action>
<action method="setViewLabel" translate="value"><value>Profile Information</value></action>
<action method="setViewAction"><value>view</value></action>
</block>
<!-- not implemented
<block type="core/text" as="history" name="sales.recurring.profile.view.tab.history">
<action method="addToParentGroup"><value>info_tabs</value></action>
<action method="setViewLabel" translate="value"><value>History</value></action>
<action method="setViewAction"><value>history</value></action>
</block>
-->
<block type="core/text" as="related_orders" name="sales.recurring.profile.view.tab.orders">
<action method="addToParentGroup"><value>info_tabs</value></action>
<action method="setViewLabel" translate="value"><value>Related Orders</value></action>
<action method="setViewAction"><value>orders</value></action>
</block>
<!-- not implemented
<block type="core/text" as="vendor_info" name="sales.recurring.profile.view.tab.vendor">
<action method="addToParentGroup"><value>info_tabs</value></action>
<action method="setViewLabel" translate="value"><value>Gateway Information</value></action>
<action method="setViewAction"><value>vendor</value></action>
</block>
-->
</block>
</reference>
</sales_recurring_profile_view__tabs>
<sales_recurring_profile_view>
<update handle="customer_account"/>
<update handle="sales_recurring_profile_view__tabs"/>
<reference name="sales.recurring.profile.view.tab.profile">
<action method="setIsViewCurrent"><v>1</v></action>
</reference>
<reference name="sales.recurring.profile.view">
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.general" as="general" template="sales/recurring/profile/view/info.phtml">
<action method="prepareReferenceInfo"/>
<action method="addToParentGroup"><value>info_blocks_row_1</value></action>
<action method="setViewColumn"><value>1</value></action>
<action method="setViewLabel" translate="value"><value>Reference</value></action>
</block>
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.item" as="item" template="sales/recurring/profile/view/info.phtml">
<action method="prepareItemInfo"/>
<action method="addToParentGroup"><value>info_blocks_row_1</value></action>
<action method="setViewColumn"><value>2</value></action>
<action method="setViewLabel" translate="value"><value>Purchased Item</value></action>
</block>
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.schedule" as="profile" template="sales/recurring/profile/view/info.phtml">
<action method="prepareScheduleInfo"/>
<action method="addToParentGroup"><value>info_blocks_row_2</value></action>
<action method="setViewColumn"><value>1</value></action>
<action method="setViewLabel" translate="value"><value>Profile Schedule</value></action>
</block>
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.fees" as="fees" template="sales/recurring/profile/view/info.phtml">
<action method="prepareFeesInfo"/>
<action method="addToParentGroup"><value>info_blocks_row_2</value></action>
<action method="setViewColumn"><value>2</value></action>
<action method="setViewLabel" translate="value"><value>Profile Payments</value></action>
</block>
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.billing" as="billing_address" template="sales/recurring/profile/view/info.phtml">
<action method="prepareAddressInfo"/>
<action method="addToParentGroup"><value>info_blocks_row_3</value></action>
<action method="setViewColumn"><value>1</value></action>
<action method="setViewLabel" translate="value"><value>Billing Address</value></action>
</block>
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.shipping" as="shipping_address" template="sales/recurring/profile/view/info.phtml">
<action method="setAddressType"><value>shipping</value></action>
<action method="prepareAddressInfo"/>
<action method="addToParentGroup"><value>info_blocks_row_3</value></action>
<action method="setViewColumn"><value>2</value></action>
<action method="setViewLabel" translate="value"><value>Shipping Address</value></action>
</block>
</reference>
</sales_recurring_profile_view>
<!-- not implemented
<sales_recurring_profile_history>
<update handle="customer_account"/>
<update handle="sales_recurring_profile_view__tabs"/>
<reference name="sales.recurring.profile.view.tab.history">
<action method="setIsViewCurrent"><v>1</v></action>
</reference>
</sales_recurring_profile_history>
-->
<sales_recurring_profile_orders>
<update handle="customer_account"/>
<update handle="sales_recurring_profile_view__tabs"/>
<reference name="sales.recurring.profile.view.tab.orders">
<action method="setIsViewCurrent"><v>1</v></action>
</reference>
<reference name="sales.recurring.profile.view">
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.orders" as="table" template="sales/recurring/grid.phtml">
<action method="prepareRelatedOrdersFrontendGrid"/>
<action method="setViewLabel" translate="value"><value>Orders Based on This Profile</value></action>
<action method="setEmptyGridMessage" translate="value"><value>There are no orders yet.</value></action>
<action method="setGridHtmlClass"><value>info-box</value></action>
<action method="setGridHtmlCss"><value>border:0</value></action>
</block>
</reference>
</sales_recurring_profile_orders>
<!-- not implemented
<sales_recurring_profile_vendor>
<update handle="customer_account"/>
<update handle="sales_recurring_profile_view__tabs"/>
<reference name="sales.recurring.profile.view.tab.vendor">
<action method="setIsViewCurrent"><v>1</v></action>
</reference>
</sales_recurring_profile_vendor>
-->
</layout>
<layout version="0.1.0">
<sales_billing_agreement_index>
<update handle="customer_account"/>
<reference name="root">
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
</reference>
<reference name="my.account.wrapper">
<block type="sales/billing_agreements" name="customer.account.billing.agreement" template="sales/billing/agreements.phtml"/>
</reference>
</sales_billing_agreement_index>
<sales_billing_agreement_view>
<update handle="customer_account"/>
<reference name="root">
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
</reference>
<reference name="my.account.wrapper">
<block type="sales/billing_agreement_view" name="customer.account.billing.agreement" template="sales/billing/agreement/view.phtml"/>
</reference>
</sales_billing_agreement_view>
<!--
<customer_account>
<reference name="customer_account_navigation" >
<action method="addLink" translate="label"><name>billing_agreements</name><path>sales/billing_agreement/</path><label>Billing Agreements</label></action>
</reference>
</customer_account>
-->
</layout>
以上是关于xml 删除我的帐户侧栏链接的主要内容,如果未能解决你的问题,请参考以下文章