[drupal-devel] [feature] Multiple select functionality in profile module
Issue status update for http://drupal.org/node/19356 Project: Drupal Version: cvs Component: profile.module Category: feature requests Priority: normal Assigned to: mathias Reported by: mathias Updated by: mathias Status: patch Attachment: http://drupal.org/files/issues/profile-multiple-select.patch (7.48 KB) This patch adds a 'multiple select' checkbox to the 'list selection' field type interface, allowing users to select multiple items from a single list. It looks the same as the 'multiple select' checkbox used during vocabulary creation. Field values are stored separately in the profile_values table and thus don't need to be serialized, keeping search functionality in tact. Note: this patch is not intended for 4.6. mathias
Issue status update for http://drupal.org/node/19356 Project: Drupal Version: cvs Component: profile.module Category: feature requests Priority: normal Assigned to: mathias Reported by: mathias Updated by: mathias Status: patch Attachment: http://drupal.org/files/issues/profile-multiple-select_0.patch (10.22 KB) Woops, full patch including database updates. mathias Previous comments: ------------------------------------------------------------------------ March 23, 2005 - 22:06 : mathias Attachment: http://drupal.org/files/issues/profile-multiple-select.patch (7.48 KB) This patch adds a 'multiple select' checkbox to the 'list selection' field type interface, allowing users to select multiple items from a single list. It looks the same as the 'multiple select' checkbox used during vocabulary creation. Field values are stored separately in the profile_values table and thus don't need to be serialized, keeping search functionality in tact. Note: this patch is not intended for 4.6.
Issue status update for http://drupal.org/node/19356 Project: Drupal Version: cvs Component: profile.module Category: feature requests Priority: normal Assigned to: mathias Reported by: mathias Updated by: mathias Status: patch Attachment: http://drupal.org/files/issues/profile-multiple-select_1.patch (10.33 KB) Fixing an uninitialized array. mathias Previous comments: ------------------------------------------------------------------------ March 23, 2005 - 22:06 : mathias Attachment: http://drupal.org/files/issues/profile-multiple-select.patch (7.48 KB) This patch adds a 'multiple select' checkbox to the 'list selection' field type interface, allowing users to select multiple items from a single list. It looks the same as the 'multiple select' checkbox used during vocabulary creation. Field values are stored separately in the profile_values table and thus don't need to be serialized, keeping search functionality in tact. Note: this patch is not intended for 4.6. ------------------------------------------------------------------------ March 23, 2005 - 22:23 : mathias Attachment: http://drupal.org/files/issues/profile-multiple-select_0.patch (10.22 KB) Woops, full patch including database updates.
Issue status update for http://drupal.org/node/19356 Project: Drupal Version: cvs Component: profile.module Category: feature requests Priority: normal Assigned to: mathias Reported by: mathias Updated by: mathias Status: patch Attachment: http://drupal.org/files/issues/profile-multiple-select_2.patch (11.73 KB) Cleaned up and ready to go for HEAD. mathias Previous comments: ------------------------------------------------------------------------ March 23, 2005 - 22:06 : mathias Attachment: http://drupal.org/files/issues/profile-multiple-select.patch (7.48 KB) This patch adds a 'multiple select' checkbox to the 'list selection' field type interface, allowing users to select multiple items from a single list. It looks the same as the 'multiple select' checkbox used during vocabulary creation. Field values are stored separately in the profile_values table and thus don't need to be serialized, keeping search functionality in tact. Note: this patch is not intended for 4.6. ------------------------------------------------------------------------ March 23, 2005 - 22:23 : mathias Attachment: http://drupal.org/files/issues/profile-multiple-select_0.patch (10.22 KB) Woops, full patch including database updates. ------------------------------------------------------------------------ March 24, 2005 - 12:33 : mathias Attachment: http://drupal.org/files/issues/profile-multiple-select_1.patch (10.33 KB) Fixing an uninitialized array.
Issue status update for http://drupal.org/node/19356 Project: Drupal Version: cvs Component: profile.module Category: feature requests Priority: normal Assigned to: mathias Reported by: mathias Updated by: nevets Status: patch In the function profile_form_profile() for the case 'selection' need to initialize the array options. It would look something like this case 'selection': $options = array(); $options[-1] = '--'; Without this if a catagory has more than one select list each list builds apoun the previous one. nevets Previous comments: ------------------------------------------------------------------------ March 23, 2005 - 21:06 : mathias Attachment: http://drupal.org/files/issues/profile-multiple-select.patch (7.48 KB) This patch adds a 'multiple select' checkbox to the 'list selection' field type interface, allowing users to select multiple items from a single list. It looks the same as the 'multiple select' checkbox used during vocabulary creation. Field values are stored separately in the profile_values table and thus don't need to be serialized, keeping search functionality in tact. Note: this patch is not intended for 4.6. ------------------------------------------------------------------------ March 23, 2005 - 21:23 : mathias Attachment: http://drupal.org/files/issues/profile-multiple-select_0.patch (10.22 KB) Woops, full patch including database updates. ------------------------------------------------------------------------ March 24, 2005 - 11:33 : mathias Attachment: http://drupal.org/files/issues/profile-multiple-select_1.patch (10.33 KB) Fixing an uninitialized array. ------------------------------------------------------------------------ April 16, 2005 - 09:20 : mathias Attachment: http://drupal.org/files/issues/profile-multiple-select_2.patch (11.73 KB) Cleaned up and ready to go for HEAD.
Issue status update for http://drupal.org/node/19356 Post a follow up: http://drupal.org/project/comments/add/19356 Project: Drupal Version: cvs Component: profile.module Category: feature requests Priority: normal Assigned to: mathias Reported by: mathias Updated by: Uwe Hermann -Status: patch (code needs review) +Status: patch (code needs work) Patch doesn't apply anymore. Uwe Hermann Previous comments: ------------------------------------------------------------------------ Thu, 24 Mar 2005 04:06:22 +0000 : mathias Attachment: http://drupal.org/files/issues/profile-multiple-select.patch (7.48 KB) This patch adds a 'multiple select' checkbox to the 'list selection' field type interface, allowing users to select multiple items from a single list. It looks the same as the 'multiple select' checkbox used during vocabulary creation. Field values are stored separately in the profile_values table and thus don't need to be serialized, keeping search functionality in tact. Note: this patch is not intended for 4.6. ------------------------------------------------------------------------ Thu, 24 Mar 2005 04:23:45 +0000 : mathias Attachment: http://drupal.org/files/issues/profile-multiple-select_0.patch (10.22 KB) Woops, full patch including database updates. ------------------------------------------------------------------------ Thu, 24 Mar 2005 18:33:05 +0000 : mathias Attachment: http://drupal.org/files/issues/profile-multiple-select_1.patch (10.33 KB) Fixing an uninitialized array. ------------------------------------------------------------------------ Sat, 16 Apr 2005 16:20:16 +0000 : mathias Attachment: http://drupal.org/files/issues/profile-multiple-select_2.patch (11.73 KB) Cleaned up and ready to go for HEAD. ------------------------------------------------------------------------ Tue, 10 May 2005 14:50:29 +0000 : nevets In the function profile_form_profile() for the case 'selection' need to initialize the array options. It would look something like this case 'selection': $options = array(); $options[-1] = '--'; Without this if a catagory has more than one select list each list builds apoun the previous one.
participants (3)
-
mathias -
nevets -
Uwe Hermann