[buddypress-trac] [BuddyPress] #3778: Allow drag and drop custom ordering of profile field options

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Jul 31 23:35:13 UTC 2012


#3778: Allow drag and drop custom ordering of profile field options
--------------------------+-----------------------------
 Reporter:  boonebgorges  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  XProfile      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------

Comment (by humanshell):

 I've created (and attached) a patch that addresses this issue. In bp-
 xprofile-classes.php I've slightly altered the output of the html that
 generates the structure of the various options so they can be manipulated
 more easily by ui-sortable. In admin.dev.js I've removed or altered some
 of the javascript in add_option() and added some new functions to enable
 ui-sortable on the individual field options. There is no ajax processing
 while reordering fields. The db is updated only when the user clicks save.

 This is my first contribution to BuddyPress, and I'm really looking
 forward to feedback from the community.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3778#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list