[drupal-devel] [feature] Multiple select functionality for profile module

nevets drupal-devel at drupal.org
Tue May 10 14:50:31 UTC 2005


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.







More information about the drupal-devel mailing list