Signing up for events with CCK Signup

Last updated on
30 April 2025

This tutorial describes how to set up a calendar of upcoming events with the option of signing up for events.

  1. Creating Calendar of upcoming events.
  2. Setting up sign-ups for events.

Creating Calendar of upcoming events

You will need following modules:
CCK
Views
Date
Calendar

To begin:

  1. Download and install listed modules.
  2. Create new content type "Event" by navigating to Administer > Content managment > Content types > Add content type (or http://example.com/admin/content/types/add) with the following fields:
    • Name : Event
    • Type : event
    • Save the new content type
  3. Add a date field to the Event content type:
    • Go to the Content types administration page (Administer > Content management > Content types or http://example.com/admin/content/types/) and click the "Manage fields" link next to the Event content type.
    • Add new field with next data:
      • Label: Event date and time
      • Field name: event_datetime
      • Field type: Datetime
      • Widget type: Select list with repeat options (or some other if you prefer)
    • Save the field. On the next page you will see more detailed settings for the field. Choose which ever options suit your site.
  4. Configure calendar view:
    • Go to the Views administration page (Administer > Site building > Views or http://example.com/admin/build/views).
    • Find node view "calendar". Enable it if it is disabled.
    • Press edit and configure calendar view in this way:
      • Fields:
        • Node: Title
        • Content: Event date and time
        • All other fields which you would like to display on the calendar for you event.
      • Arguments:
        • "Date: Date (node)"
        • In the settings find "Date field(s)" and make sure only one is checked their "Content: Event date and time (field_event_datetime). It is the date field we created earlier.
      • Filters:
        • "Node: Published" - set filter option to Yes
        • "Node: Type" - set filter option to "is one of" "Event".
      • Sort criteria:
        • Node: Updated time. Sort order ascending.
        • Content: Event date and time. Sort order ascending.

Setting up sign-ups for events

You will need following modules:
CCK Signup
Views attach
Node Reference URL Widget

  1. Download and install listed modules. (Note: CCK Signup will require CCK module, in particular you need to have Node reference enabled.)
  2. Create a new content type "Signup" by navigating to Administer > Content managment > Content types > Add content type (or http://example.com/admin/content/types/add):
    • Name : Signup
    • Type : signup

    Choose all other settings, depending on what kind of signups you need. For instance it is useful to omit body field label.

  3. Add the event reference field to Signup content type:
    1. Go to the Content types administration page (Administer > Content management > Content types or http://example.com/admin/content/types/) and click the "Manage fields" link next to the SIgnup content type.
    2. Add new field with next data:
      • Label: Signup for event
      • Field name: eventref
      • Field type: Node reference
      • Widget type: Reference from URL
    3. On the next page you will see more detailed settings for the field.
    4. At the bottom of the page find "Content types that can be referenced:" and make sure Event content type (the one we created earlier) is checked.
    5. The rest of the settings configure how you think is best for your site. For example it could be something like:
      • Fallback behavior: Display page not found error.
      • Referenceable node links: Create link on the full view
      • Link title: Signup for event
      • Return path: The referenced node
  4. Setup signups for Event content type:
    1. Go to the Content types administration page (Administer > Content management > Content types or http://example.com/admin/content/types) and edit your Event content type.
    2. In the settings you will see new section "CCK Sign-up":
      • Enable Sign-ups for event nodes.
      • "Node reference field to associate sign-up nodes" set to "Signup for event". (Event reference field you created earlier)
      • "Date field to associate with sign-ups:" set to "Event date and time". (Date field you created earlier)
  5. Check user permissions for the content types and fields which you created:
    1. Go to the Permissions administration page (Administer > User management > Permissions or http://example.com/admin/user/permissions).
    2. In content_permissions module "Edit field_event_datetime" should be checked for those users which you want to be able to add new events.
    3. "Edit field_eventref" should be checked for those users which you want to be able to sign up.
    4. In node module check permissions for event and signup content. Specify which users can create/edit/delete these content types.
    5. Don't forget to configure other node-related modules you are using. Such as Path auto, Node access etc.
  6. Create view to display list of signups on the event page:
    1. Go to the Views administration page (Administer > Site building > Views or http://example.com/admin/build/views).
    2. Press Add
      • View name: signup_list
      • View type: Node
    3. On the next page configure options as follows:
      • Fields. As fields choose all the information you want to show. For example user name (author of signup), custom fields of Signup content type, some fields from user profile etc. To make signups' management easier you can also add Node: Edit link and Node: Delete link fields.
      • Filters:
        • Node: Type. Filter options set to "is one of" "Signup".
      • Arguments:
        • Content: Sign-up for event (field_eventref).
    4. Finally at the top left drop-down menu choose "Node content" and press add display (if you don't see Node content option - make sure module Views attach is enabled).
    5. You will see new view "Node content" appeared under Defaults. Choose this view and in its settings find section "Node content settings". Set Node types: event.

    Note: Node field Title is required for all nodes, including signup. If you don't want your users to fill this field, you can use Automatic Nodetitles module, which will automatically create node titles and hide them from users.

Help improve this page

Page status: Not set

You can: