开发者

Magento - Dynamic Listbox in a custom module

I wish to make a dynamic listbox in a magento custom module, in magento backend, with a custom table in database, and than process this data to e开发者_StackOverflow中文版xecute an update query in another table.


you have to define the source model of this select box and then make a class for it and query or add what you need to this select. For example open up the "yesno" class and see how it adds the values:

<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜