Magento - add custom "Widget Options"
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.
精彩评论