在 magento 中,如何清除用户帐户仪表板?
in magento, how to clear user account dashboard?
需要完全清除帐户仪表板页面,以显示根据登录客户的用户组而变化的自定义布局。
我做了以下事情:
<customer_account_index translate="label">
<reference name="root">
<action method="setTemplate"><template>page/1column.phtml</template></action>
</reference>
<reference name="content">
<block type="MyModule/Dashboard" name="block_Dashboard" template="customer/Dashboard.phtml" />
</reference>
</customer_account_index>
我可以看到 'customer/Dashboard.phtml' 的输出,但是如何删除所有这些小部件?
Account Information
Contact Information
...
在 app/core/Mage/Customer/*
中找不到任何布局处理程序,也找不到它们的模板参考
去哪里挖?谢谢!!!
它在 app/design/frontend/base/default/layout/customer.xml 内 customer_account_index 节点下。
需要完全清除帐户仪表板页面,以显示根据登录客户的用户组而变化的自定义布局。 我做了以下事情:
<customer_account_index translate="label">
<reference name="root">
<action method="setTemplate"><template>page/1column.phtml</template></action>
</reference>
<reference name="content">
<block type="MyModule/Dashboard" name="block_Dashboard" template="customer/Dashboard.phtml" />
</reference>
</customer_account_index>
我可以看到 'customer/Dashboard.phtml' 的输出,但是如何删除所有这些小部件?
Account Information
Contact Information
...
在 app/core/Mage/Customer/*
中找不到任何布局处理程序,也找不到它们的模板参考去哪里挖?谢谢!!!
它在 app/design/frontend/base/default/layout/customer.xml 内 customer_account_index 节点下。