expose form elements as views "fields"
markDrupal - August 12, 2007 - 10:31
| Project: | Signup |
| Version: | 6.x-1.x-dev |
| Component: | Views integration |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I would like a way to put the signup button in more places on my website. now it is shown when the user views the node, but in addition i would like to put a 'signup' button on my block that I created with the views module. The block is upcoming events, and it shows the date the event will take place and the event title, i would like to put a Signup button so the users can quickly signup for events.

#1
My upcoming events block is a table view whit 5 events, so I would like to have 5 submit buttons.
#2
This is extremely difficult to do in today's views.module. I wanted to expose some form elements as views "fields" so that the entire admin/content/signup page could be a view, instead of a hard-coded table, but merlinofchaos told me that'd require massive work. Hopefully in D6 with the new FAPI and Views2, this will be easier. Therefore, I'm postponing this issue.
#3
What about the "Editable Fields" views plugin?
#4
Here: http://drupal.org/project/editablefields
Could this plugin support a sign up button within a view?
#5
dww, - re #2 - has any of this changed for the 6.x-1.x-dev version?
* Are you now planning to make the entire admin/content/signup page a view?
* Or in any case, is it easier now to expose these elements to Views2?
The reason is I'd like to find a good way to allow users to sign up for the same event during one or more times - and customize the display.
In particular, I'm interested in your suggestion in comment #2 here: #325493: Signup per time slots
but the problem with embedding nodes via node-reference is we can't customize the output like we could by creating custom views.
Exposing form elements to Views2 would obviously have many other benefits than for my specific case.
The 6.x-1.x-dev version is really nice so far - great work btw :)
#6
I just tested out Views & Signup 6.x-1.x-dev -- and one thing I didn't realize, is that not only are these form elements not exposed to views (to add as fields etc) but if I create a view of the event nodes (displaying full nodes) the Signup button is not available in that view either. It seems the only to sign up for an event is to visit the full node itself?
I'm very interested to hear whether you think this will be possible to allow expose with the current Signup 6 branch and Views2? Thanks in advance :)
#7
Hi dww,
For now this is a sidenote -- I realize the main agenda now is to finish the D6 port - and part of this is getting existing views functionality working in views2 (I've been helping with that by testing), and I understand feature requests will come afterwards.
That said, it would be helpful for me to know if this feature request is still something you'd like to deal with? and if so, where you see it on your list of priorities once the views2 integration is done (it kind of determines my ability to spend time helping with testing at this point :p) ?
(I'm also renaming this feature request to reflect the current task, which as I understand would affect more than just the submit button).
#8
Yes, this would be nice. merlinofchaos said it's easier but "still a little rough around the edges" in views2. It's hard to say exactly where it lies on my list of priorities. I can't say it's at the top of my personal priority list, but what people are willing to pay me to work on can rapidly change my prioritization. ;)
#9
+1
#10
I can contribute $.
What would be ideal is a views status field displaying whether or not a user is signed up, which we can toggle with AJAX (signup/cancel).
Please get in touch if your timetable allows and we can work something out.
#11
Hi jitenm,
I have a similiar issue.
http://drupal.org/node/551266
Maybe we can contribute to this funding?
cheers