Hi,
Right now, extra_voting_forms needs to get its widgets from the module's directory.
This is less than optimal: a multisite installation would need to create a subdirectory in the module's directory to create a new set of widgets.
It really ought to be possible to add a configuration setting in extra_voting_forms where users can specify an extra path ('extra_voting_forms_widget_path'). If that path is set, the widget's root will become [drupal_install]/variable_get('extra_voting_forms_widget_path','') . That way, people will be able to create their own widgets and place them in their theme's directory etc.
ALTERNATIVELY, maybe we can simplify things and just add a checkbox and, if set, the widgets will be looked for in the theme directory rather than in the "widgets" directory in the module.
What do you people think?
I mark this as "critical", because a lot of people are using Drigg more and more and this I can see sites unable to design new widgets... it's sort of structural.
Merc.
Merc.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | widgets_dir.patch | 3.04 KB | cedricfontaine |
Comments
Comment #1
mercmobily commentedComment #2
cedricfontaine commentedPlease test with the suggested patch. Everything is ok for me.
Comment #3
mercmobily commentedHi,
Tested. It worked for me. EXCELLENT. THANK YOU!
Committed.
Merc.
Comment #4
mercmobily commented