Set weights on admin_user_roles form with JS Drag & Drop

leafish_paul - May 12, 2008 - 13:51
Project:Role Weights
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

As mentioned here, I've split this feature off from actually getting the admin forms ordered by Role Weight.

The idea in this issue is to improve the UI for setting role weights - ideally the admin_user_roles form should not only sort by role weight, but should contain select fields or similar to allow the weights to be set. This form currently exists for adding roles, not setting their properties, so we need to deal with two submit buttons/functions.

Might also be worth considering Drupal 6's AJAX sorting à la menu items/blocks.

#1

leafish_paul - October 27, 2008 - 16:56

Gah, incorrect link in there that makes no sense. First line of that should've been:

"As mentioned here, I've split this feature off from actually getting the admin forms ordered by Role Weight."

#2

1.kenthomas - January 4, 2009 - 20:29

Any traction here? This would certainly be better than the current available ordering method, prepending with digits...

#3

leafish_paul - January 28, 2009 - 15:11
Version:5.x-1.x-dev» HEAD
Status:active» postponed

I'm committing some changes to the 5.x-1.x-dev branch at the moment (tokens, ordering admin forms). I want to get another 5.x release tagged with these long-overdue features in. After that, I plan to try and spend some time on a 6.x port. It makes sense to leave this UI feature until the 6.x port is underway so we can (hopefully) take full advantage of the new drag n' drop stuff.

PS I wasn't quite sure what you meant by "prepending with digits"? I guessed you prepend role names with 1, 2, 3 etc - do you do this alongside using Role Weights?

#4

leafish_paul - April 3, 2009 - 09:30
Title:Setting weights directly on admin_user_roles form» Set weights on admin_user_roles form with JS Drag & Drop
Status:postponed» active

http://api.drupal.org/api/function/drupal_add_tabledrag/6

 
 

Drupal is a registered trademark of Dries Buytaert.