2014-01-24 21 views
3

我想要先点击system-> configuration时显示自定义模块配置。当打开系统配置时首先显示默认自定义模块部分

我已经为部分设置了最高的排序顺序,但仍未显示。

我的system.xml代码看起来像

<tabs> 
    <tourtab translate="label" module="customoptioncreater"> 
     <label>Tour Option Configuration</label> 
     <sort_order>0</sort_order> 
    </tourtab> 
    </tabs> 
    <sections> 
    <toursection translate="label" module="customoptioncreater">      
    <label>Tour Option Configuration</label> 
    <tab>tourtab</tab> 
    <frontend_type>text</frontend_type> 
    <sort_order>99999</sort_order> 
    <show_in_default>1</show_in_default> 
    <show_in_website>1</show_in_website> 
    <show_in_store>1</show_in_store> 

enter image description here

回答

7

在你的代码已经改变的排序顺序tourtab。这会在第一个位置显示你的标签。

为了显示您想要的内容,请更改标签'<section>的排序顺序。现在

<tabs> 
    <tourtab translate="label" module="customoptioncreater"> 
     <label>Tour Option Configuration</label> 
     <sort_order>0</sort_order> 
    </tourtab> 
    </tabs> 
    <sections> 
    <toursection translate="label" module="customoptioncreater">      
    <label>Tour Option Configuration</label> 
    <tab>tourtab</tab> 
    <frontend_type>text</frontend_type> 
    <sort_order>0</sort_order> 
    <show_in_default>1</show_in_default> 
    <show_in_website>1</show_in_website> 
    <show_in_store>1</show_in_store> 

当你点击系统>配置,您旅游选项配置标签将首先甚至在法师的默认一般选项卡及其部分打开

注意:您可以更改排序顺序为0或1.

+0

我已经为排序顺序字段中的选项卡和区段设置了0。 – Zaheerabbas

+0

您的品牌标识标签首先打开,如截图所示? – Slimshadddyyy

+0

是的。如图中所示。 – Zaheerabbas

相关问题