Recipe 34: Block of upcoming workshops
Note
Ingredients
CCK module: http://drupal.org/project/cck
Date module: http://drupal.org/project/date
Enable Date, Date API, Date Popup, and Date Timezone modules
Node Go To module: http://drupal.org/project/nodegoto
This recipe is the foundation for many others in the book, including most the ones remaining in this chapter.
The Node Go To module is a little-known treasure that makes it easy to enter content. This recipe also makes use of the now option, available in the Date module.
Install and enable all of the modules in the ingredients.
Go to
admin/settings/date-time
and set the default time zone.Go to
admin/content/types/add
and create a content type named Workshop, of type workshop. As usual, remove the Body field in the Submission form fieldset. We'll create a workshop_description field instead.Go to
admin/content/types/workshop/add_field
and add a field named workshop_date. We have several field types to choose from, however, I recommend the Datestamp...