Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.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:模块配置的较大文本输入_Magento_Configuration_Admin_Magento 1.9 - Fatal编程技术网

Magento:模块配置的较大文本输入

Magento:模块配置的较大文本输入,magento,configuration,admin,magento-1.9,Magento,Configuration,Admin,Magento 1.9,我正在为Magento 1.9创建一个自定义模块。我需要在配置中有更大的文本输入字段。法线场有一行高,我需要多行高 是否有我缺少的默认输入类型 是否需要创建自定义输入字段 谢谢在magento自定义扩展配置中,您可以使用此代码添加textarea <yourfieldid translate="label comment"> <label>Title</label> <frontend_type>textarea</fronten

我正在为Magento 1.9创建一个自定义模块。我需要在配置中有更大的文本输入字段。法线场有一行高,我需要多行高

是否有我缺少的默认输入类型

是否需要创建自定义输入字段


谢谢

在magento自定义扩展配置中,您可以使用此代码添加textarea

<yourfieldid translate="label comment">
   <label>Title</label>
   <frontend_type>textarea</frontend_type>
   <sort_order>70</sort_order>
   <show_in_default>1</show_in_default>
   <show_in_website>1</show_in_website>
   <show_in_store>1</show_in_store>
</yourfieldid>

标题
文本区
70
1.
1.
1.

这就成功了!谢谢