Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Magento - add custom "Widget Options"

Tags:

magento

It is possible to add custom "Widget Options" (as input text 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

like image 939
Ahmed Ala Dali Avatar asked May 19 '11 15:05

Ahmed Ala Dali


1 Answers

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.

like image 181
Nick Avatar answered Sep 30 '22 20:09

Nick