Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在magento admin with module中添加名为的按钮_Magento - Fatal编程技术网

如何在magento admin with module中添加名为的按钮

如何在magento admin with module中添加名为的按钮,magento,Magento,我尝试了下面的代码,但它只显示没有名称的按钮,但我需要与按钮名称文本 <logger_API_button translate="label"> <frontend_type>text</frontend_type> <label>Send</label> <frontend_type>button</frontend_type> <sort_order>77&

我尝试了下面的代码,但它只显示没有名称的按钮,但我需要与按钮名称文本

<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>

文本
发送
按钮
77
1.
1.
1.
您有两个
标记

只要写

<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>

按钮
发送
77
1.
1.
1.
我删除了文本标记,但它仍然不起作用。我想按钮名称应该在按钮上,但发送标签显示“发送”标签在按钮的左侧