使用以下代码,' myinfo'选项卡会添加到客户编辑页面,但它会在“客户视图”之后显示第二个元素。
<?xml version="1.0"?>
<layout version="0.1.0">
<adminhtml_customer_edit>
<reference name="left">
<reference name="customer_edit_tabs">
<block type="mystuff/adminhtml_customer_edit_tab_myinfo" name="tab_points"
template="my/stuff/customer/myinfo.phtml">
...
</block>
<action method="addTab">
<name>my_stuff</name>
<block>tab_myinfo</block>
<!-- TODO find way to change sequence of tab added -->
</action>
</reference>
</reference>
</adminhtml_customer_edit>
</layout>
...我想添加截图...但我的声誉太低了:(
如何定义外观序列?我尝试了以下方法:
1. <action method="addTab" after="cart">
...
2. <action method="addTab">
<after>cart</after>
...
3. <action method="addTab">
<sequence>999</sequence>
...
......但没有变化