Posted by shark on September 17, 2009 at 7:56am
| Project: | Profile Category Weight |
| Version: | 6.x-1.1 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Issue Summary
The Profile Category Weight module's administrative interface at admin/settings/profile_category_weight could be made more user friendly if it used javascript to allow the categories to be re-orded using drag and drop.
Instead of displaying the current simple weight-based interface, like:
category-name-1
weight-drop-down-1
category-name-2
weight-drop-down-2
...
I think something like:
+ category-name-1
+ category-name-2
...
would be more user friendly. This interface would be similar to how the profile fields are re-ordered within each category on the admin/user/profile page.
p.s. Besides this, this module is great! Thanks!
Comments
#1
Here is my patch for using tabledrag for this setting. Please review.
#2
updating status, sorry
#3
Lucascaro, I've been reviewing and testing the patch and looks fine. I'd say, it can be marked as RTBC. Lack of comments fits pretty well with the rest of the code, so it does not matter that much.
Thanks!!
#4
glad to hear that, I hope the maintainer likes it as well.
#5
Confirmed working for me too, but why does the patch create new functions that are never used such as _profile_category_weight_settings()?
#6
sorry about that, that's profile_category_weight_settings being "disabled" by adding a _
it should be safe to delete that function from the patch.