Multiple Select List addon
bubbasan - March 3, 2007 - 07:00
| Project: | Drupal |
| Version: | 7.x-dev |
| Component: | profile.module |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
I've added multiple select functionality to the profile module. Hopefully, it will be useful for someone.
| Attachment | Size |
|---|---|
| profile_40.patch | 6.15 KB |

#1
No features, such as this, will go into Drupal 5.x.
#2
Thank you!
Just what I was looking for :) Actually - almost. Best would be the option to have multiple checkboxes. I like the options webform gives me but can't integrate a webform with the user profiles/ registration page. I see that this tutorial explains how to develop a full-fledged user profile in 5.1. Unfortunately I'm still with 4.7 and have a couple modules that aren't 5.1 compatible yet.
Thanks for this!!
Alex
#3
Update - I just patched your patched profile module with the patch from #9 on this thread, and lo and behold - it works! Multiple select checkboxes for profile/ registration page in 4.7. Sweet!
:)
#4
When activating this patch I get the following error:
warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/www/community2/includes/database.mysql.inc on line 400.Please help me to solve this! Thanx.
#5
Problem solved. I forget to delete one line.
#6
DrupalFan2: Please do not move feature requests to stable versions; they will not be added.
#7
I used this and it worked right out of the box! Thank you so much! I can't believe this wasn't a standard functionality. Just goes to show that Drupal 5.x should probably be named Drupal 1.5.x in terms of maturity... In my list, this goes right next to not being able to translate menus without hacking.
Anyway, now that I patched this, I'm running into a bit of a problem with i18n_profile: i18n_profile allows me to translate the value lists used by the single select, but not the ones used by the multi-select (the rest still works fine). This is probably an easy fix, but I'm not familiar with Drupalese. If somebody can provide this fix quickly, I'm ready to give a small compensation.
#8
Which file should I open to use the patch? I am a newbie. Thanks
#9
I found it,
#10
http://drupal.org/node/124348