核心的xml 写法
<customer_account> <reference name="customer_account_navigation"> <action method="addLink" translate="label" module="messages"><name>messages</name><path>messages</path><label>Messages Box</label></action> </reference> </customer_account> <messages_index_index translate="label"> <label>Customer My Account Messages Box</label> <update handle="customer_account"/> <reference name="my.account.wrapper"> <block type="messages/messages" name="messages" template="messages/messages.phtml" /> </reference> </messages_index_index>
转载请注明:(●--●) Hello.My Weicot » magento 在用户面板添加消息 或 导航还有自定义页面