Closed (works as designed)
Project:
Signup
Version:
6.x-1.x-dev
Component:
Views integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2009 at 10:25 UTC
Updated:
5 Aug 2009 at 20:20 UTC
Hi !
At first, i want to thank you for this great module ;)
I found a little bug in the "signup_user_list" view. It is not possible to display profile fields in the table view even if you choose the correct fields in the "edit"settings.
Greetings
P.S.: Perhaps it is not a "bug" but a "missing feature" so you can simply change the category of this post ;) If so, what would be the solution to display the profile fields ? ( where have i to edit the display settings ? I tried to add a SQL-query as an "additional signup info" but i failed because there is a form required)
| Comment | File | Size | Author |
|---|---|---|---|
| profilefieldsedit.jpg | 86.15 KB | lzimon | |
| profilefields.jpg | 53.38 KB | lzimon |
Comments
Comment #1
dwwThat's not how views works in D5 (one of its many limitations). You can accomplish this in the D6 version using a "relationship" on the user.
Comment #2
lzimon commentedThat are bad news for me :X I must use D5 because some modules are not finished for D6 yet and i don't have the knowledge to port them on my own.
And there is no way to workaround the limitation ? Perhaps someone has got a little hint or an idea for me.
Comment #3
lzimon commentedI've made a little workaround on my own.
I added my signup fields and used to autocomplete them by "default_value", so that the user hast only to press button to signup for an event, but he can still check and change his personal information if he wants.
After that i added some "Signup: User: Additional Signup Info" fields to the view, thats it.
If someone wants to see the source code i can post it, but it's not a big deal to do it on your own ;)
Comment #4
Bill Choy commentedI am newbie to Drupal Programming, so forgive my ignorance.
I created the themename_signup_user_form($node) in my "template.php" file to create the additional fields. But now the signups/admin page looks cluttered with all the "Extra Information" information.
Is there anyway to cleanup the signups/admin page???
I also want to add a couple fields into the $view->name = 'signup_user_list'. The signup is for a hiking club and I want to add a "need/offering a ride" field and a zip-code field.
Comment #5
stevestaso commentedComment #6
stevestaso commented@lzimon
Yes - please post source code that makes this happen.
Thanks.
Comment #7
stevestaso commentedI found several ways to add user profile info into the signup form.
Here is how I am doing it now.
In the theme/signup_form.inc file,
after adding any extra fields (per the install.txt file) such as this:
Use this code to pull the profile of the active user:
Then each field gets populated: