开发者

Magento - add custom "Widget Options"

开发者 https://www.devze.com 2023-03-06 21:12 出处:网络
It is possible to add custom \"Widget Options\" (as input tex开发者_如何学编程t fields) in a new Widget Instance ?

It is possible to add custom "Widget Options" (as input tex开发者_如何学编程t fields) in a new Widget Instance ?

If yes how can I do that ?

[edit] I want also to know if it possible to uses a extra table from database to store data from text fields. [/edit]

I'm using Magento version 1.4.2

Thanks a lot


Widget options are defined in the widget's widget.xml file. All you have to do is add a new entry in the <parameters /> tag and it will appear in the widget interface in the administration area. There is a good tutorial on the Magento website that'll walk you through, pretty much, everything you need to know on widgets.

0

精彩评论

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

关注公众号