Drupal 7 Node Reference Tutorial: Event Registration

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
8,375
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 15, 2011

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
http://www.torontowebsitedeveloper.com/drupal-video-tutorials

Category:

Education

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (yaworsk1)

  • Hi all,

    sorry for the late response (in some cases, very late). I haven't looked at limiting users to a single sign up but it would probably require a small custom module, just something that looked at the user id and whether or not they registered for the event. if there was interest in seeing that, i could do a tutorial on it.

    As for disabling the link, you could probably do that with an action and trigger, just unpublishing the node based on a date... again, let me know and i could do a tut

see all

All Comments (11)

Sign In or Sign Up now to post a comment!
  • 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?

  • Very nice video - I'm also very interested in how to limit the registration to one per user - doesn't seem obvious how to do that.

  • @tgriswoldffcg any answers here?

  • nice job, very helpful. Two questions:

    1) Is there a way to limit users to a single signup? or at least tell them they are already signed up, that assumes only logged in users can sign up which is true in my case.

    2) Is there a way to disable the link after the expiration of the event?

  • Great tutorial!

    What about the Notice: Undefined index ?

    Is References Module buggy or can I use it in my project?

    Thank you!!

  • me too...

  • I'd be interested to know as well.

  • 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?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more