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
Comment #1
lucascaro commentedHere is my patch for using tabledrag for this setting. Please review.
Comment #2
lucascaro commentedupdating status, sorry
Comment #3
ilo commentedLucascaro, 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!!
Comment #4
lucascaro commentedglad to hear that, I hope the maintainer likes it as well.
Comment #5
stewart.adam commentedConfirmed working for me too, but why does the patch create new functions that are never used such as _profile_category_weight_settings()?
Comment #6
lucascaro commentedsorry about that, that's profile_category_weight_settings being "disabled" by adding a _
it should be safe to delete that function from the patch.