2015-05-22 34 views
-1

我已经尝试使用下面的代码,但它只显示没有名称的按钮,但我需要与按钮的名称文本。如何添加按钮与名称在magento管理员与模块

<logger_API_button translate="label"> 
    <frontend_type>text</frontend_type> 
    <label>Send</label> 
    <frontend_type>button</frontend_type> 
    <sort_order>77</sort_order> 
    <show_in_default>1</show_in_default> 
    <show_in_website>1</show_in_website> 
    <show_in_store>1</show_in_store> 
</logger_API_button> 

回答

0

您有<frontend_type>标记两次。

只写

<logger_API_button translate="label"> 
    <frontend_type>button</frontend_type> 
    <label>Send</label> 
    <sort_order>77</sort_order> 
    <show_in_default>1</show_in_default> 
    <show_in_website>1</show_in_website> 
    <show_in_store>1</show_in_store> 
</logger_API_button> 
+0

感谢Manashvi, – Dinesh

+0

我删除文本标签,但仍然它不工作。我想要按钮名称应该在按钮上,但标签显示按钮左侧的“发送”标签 – Dinesh

相关问题