How to Configure Drupal 7 Node References with the EVA Module - Creating Event Registrations

preview_player
Показать описание
In this drupal video tutorial , we look at automatic node references in Drupal 7. Using the Node Reference Url, References, EVA and Views modules, we create an event registration system where our event nodes have a registration link for site visitors which automatically directs them to a registration form that is associated with the event. The tutorial takes it a step further and shows you how to list all registrants on the event node as well. This Node Reference Tutorial expands on episode 37 of Mustard Seed Media's video podcast which shows similar functionality for Drupal 6.

NOTE: Since this video tutorial, Drupal 7.7 was released and a new version of views. To make this work in Views, the contextual filter has changed - you need to select 'add contextual filters' dialog, chose 'Content: Event(field_event)' and press the 'Add and configure contextual filters' button. In the next dialog chose 'Provide default value' option and you will be prompted with 'Type' combo box. Select 'Content ID from URL'. Hit 'Apply' and save the view definition. Big thanks to Rama for pointing this out!

- Pete
Рекомендации по теме
Комментарии
Автор

Drupal is amazing.
Everything you need is just one million simple steps away.

mtssvnsn
Автор

Hi Dilir,
yes, you are absolutely right. I did this a while ago for a client so I can't remember all the details but I think I did it with views and arguments. I created a view using arguments to look at the uid of the person viewing the view and pulling up registrations associated with their event... once i finish the ubercart series, i might come back and create a tutorial on this as the registration video is one of my more popular...

yaworsk
Автор

Very helpful, thank you. I don't have an immediate need but I do use node references quite a bit so will use this soon. Didn't know about the url widget to automatically "choose" -- I have wondered about this but never investigated. And I can imagine all kinds of uses for the EVA module.  Drupal just keeps being amazing.  Frustrating at times, certainly, but the possibilities just keep multiplying.

TU
Автор

Best guide, ever. thx just saved my day

Signed: A French noob.

adinolivier
Автор

Hey, fantastic video!! So straight forward... I was wondering do you know if there is a way in the view, to reference the user who saved the form rather then getting them to enter details that may already exist in the system?

dans
Автор

great video. more d7 tutorials please. for noderef url, is it possible to point the user to a custom webform/node creation form rather than the standard drupal create node form?

kumbackquatsta
Автор

This is really nice and awesome tutorial!!!!
Thanks a lot!!!

asian
Автор

Thanks for this great tutorial. I am in the process off creating a vacancies board, I have built a content type to create the vacancy, i have also created a webform which will allow site visitors to upload there CV. I have created an apply option within the content type and used the node reference, is there a way i can pass the nodeID from the content type to the apply webform so that they can be linked before sending to a specified mailbox? This platform is built using Drupal 7.

Thanks

paulcallan
Автор

Thanks. It is a great tutorial! Just one question, how can I limit the access to the view to only the author who created the event. I mean, only an author of an event should be able to see the registrations for that event. He should not be able to view the registrations of another event which he has not created.

DilirKhan
Автор

Hey great tutorial just what i need, any chance you could update it to include entity registration

merln
Автор

Hi Yaworsk1, It was a great tutorial . found it very useful
Now, where do i set permission so that the link appears for authenticated user or anonymous? 
cus i see link only when i am logged in as admin.

nischalkumar
Автор

Holy crap! That first sentence was like 1000 words/minute!

JapoDomingo
Автор

Thanks for the reply, if i go to other registration module i think i will face a problem like can we register for particular event?. Is this option is there?

kirankumar
Автор

Need a tut about the disabling the link !!!! Thumb up to let him know ! THx a lot for this tut !

letichum
Автор

Hello. Very good. Can I use this to attach a registration to an Ubercart product to collect reg info during checkout somehow? Do you have a video on that? Do you also have any recommendations for the same for Drupal Commerce as well? Thanks!

pshermantech
Автор

Hi, very good tutorial. So, just to complicate a little bit more, imagine this situation:
Instead of having the Registration, you have a group and inside this group you have the Registration.. So, when you see the event you should show the groups and inside each group you should show the registrations..

Is it possible?

NeiRauniSantos
Автор

Hi Yaworsk1,

I was wondering, if you could help me out with this one.
I would like the "Register for event" to open up in Colorbox. 
I have downloaded the 'Colorbox Node' module, and it says, that all I need to do is add a class around the link.

But where is the Link generated, and can I add a default class to that "Register for event" link?

/Tom

hugflog
Автор

Hi yaworsk1,

It is a great tutorial, and i used in my application. Actually when i tried to display the list of users who registered for an event, but it is not showing any users for a event. Exactly i have done what ever you mentioned in the tutorial, please help me.

Thanks Inadvance..

kirankumar
Автор

Senks, you cool!

Big senks from Russia :)

marinalebedeva
Автор

could you do a d7 tutorial on how to get and print the number of referencing nodes on the referenced nodes page ie node reference count?

kumbackquatsta