Training and Development for Drupal

Date + Calendar Screencast (Drupal 6)

FAIL (the browser should render some flash content, not this).

(If you are looking for Date + Calendar instructions for Drupal 7, look here.)

If you like this screencast, you can show it by pitching in to a special fundraising effort. (And here's why.)

Here is a fast screencast covering the Date and Calendar modules for Drupal 6. This recipe illustrates one way to let your users post their own events (like parties, appointments, meetups, etc) that include date information stored in a field. Then you can see how to display these dates on a traditional calendar layout with all the events sorted into the correct days.

The modules doing the heavy work are the Date module (for use with CCK) and Calendar module (for use with Views). Something to note is that the Calendar module provides a number of default views that display a calendar-style layout. While you can simply enable the view called "Calendar" and call it done, this screencast instead demonstrates the two to three different steps one would take to build a calendar-style view from scratch. I chose to do it this way to help you better understand how the all the date and calendar parts fit together.

There is an entirely different approach to making dated nodes, which uses the Event module, but that is not covered in this screencast.

To make the best use of this screencast it would be awesome to have some prior exposure to the Views and CCK modules for Drupal 6. You should also have working knowledge of Drupal including the installation of contributed modules.

If you find this helpful, drop me a note. Also, if you find anything incorrect that I may have overlooked the please let me know so I can correct it.


Splendid, good sir!

Hey Thanks a lot for the video, it helps, but i get an error:

warning: Parameter 3 to views_ui_ajax_form() expected to be a reference, value given in C:\wamp\www\drupal-6_14\includes\ on line 348.

warning: Attempt to modify property of non-object in C:\wamp\www\drupal-6_14\sites\all\modules\calendar\includes\ on line 47.

warning: Attempt to modify property of non-object in C:\wamp\www\drupal-6_14\sites\all\modules\calendar\includes\ on line 164.

Can anybody help?
Ive got:
Drupal 6_14

Thanks a lot!

mmm... for any one else who has this problem, you're probably using PHP 5.3 which is not yet fully supported, check: and and

Awesome!! I should have checked here FIRST!. Egad.
I come from the old PostNuke world and things were very dependent on a great consortium of users. Thank you so much for the time you've put into this. It definitely has added tremendous value for us newbies.
=David Hill

I am new to Drupal and wanting to build an event calendar. This was very helpful Sean.

Thank you

I want to create a calendar too for my chat website. If you have suggestions.

Great Video! Thank you Sean!

Thanks for taking the time to make such a great tutorial!

Thank you so much for doing this.
Working great now this feature. Some filed have changes but still no problem with this great Video.

Greets from Germany

great tutorial, Sean! Thanks for the great work.
Jason from San Jose, California.

Absolutely great tutorial. Had problems using another tutorial using these same modules. Yours was clearly better! Thanks alot.

Great screencast, really useful, thank you so much's an easy to follow tutorial that works! Thanks so much!

I have a start_date and end_date field. How can get the dates in between to be highlighted?
great tutorial by the way!

Nice work dude ,it helped me a lot .

Thank you very much Sean
You made Drupal easier for a french guy

(Minzier 74270)


I like your video a lot, very transparent presentation and easy to follow. Thank you for sharing this!


Thank you for the very nice session, Sean!

Can you give me a hint on how to do a room reservation system for a community center? Let's say we have five rooms, so this would probably be a multi-valued taxonomy field (some people want to reserve more than one room for an event), and we can assign a start and an end date, but how can we make sure that the same room is not booked more than once at a time?


P.S. I'm not afraid to do some custom programming if needed (no experience with Views yet though), but it'd be nice to get off on the right foot. TIA!

great tutorial... thanks so much!

Thanks dude...i know it was too late, but i helped me a lot

Good tutorial Sean! You covered a number of module I want to use in my Drupal installations. I have a need for an event calendar in one of my projects, so this will come in handy. Aabe

Thanks, looking to get off the event module and this was the perfect level of detail to get me going!

Thanks Dood!

Nice one! Very useful indeed, thanks!

this is one of the most helpful guides on the net for Drupal - video or text based - well done!

thanks for the helpful screencast. Keep up the good work!

Thank you, just what I neeeded!


thanks very much for this extremely helpful video.

In it you mention that we could do some custom formatting of the events as they display in the calendar. Specifically, you suggest that we could remove the date from the display, since it is redundant.

Can you point me to some information that would show how to do that custom formatting, because that is exactly what I would like to do.

Thanks again.

awesome. covered everything i wanted to know

Thank You very much - the right tempo to follow your explanation... super ! greetings from germany

That was very, very basic.

I was hoping for a little more depth.

Tssk tssk very ungrateful. Unless of course you have a tutorial of your own to show everyone ? ;)

Well, what's a guy to do with just 15 minutes. Right?

Wow! That couldn't have been simpler. I have been looking for a video like this for a while. Thank you so much!

I LOVE your videos! They save me so much time. It is so SO helpful to see how something is done instead of wasting hours trying to blindly figure it out by myself. Thank you!

Sean .. great video and excellent site.
Seeing the huge amount of crap comments you are getting I wondered if you ever tried Mollom for spam protection, or any other drupal modul, and which one seemed to work best for you.


This isn't Sean, but Mollom works great. I've used it on a number of sites and it's done it's job perfectly so far.

I'm actually using Mollom right now and there's all kinds of Turkish spam getting through the server's filter. I gotta talk to Dries about this...

Thanks for the tutorial,

Unfortunately as soon as I add the fields I get the following message:

"The date argument date fields must be added to this query. You can exclude them if you do not want them displayed in the calendar."

What's up?

I had that problem and fixed it.

Basically in the video, the guy adds a couple fields:

1) Node title
2) Content date

For the second one he kinda makes it sounds like its option. But its not. If you don't add it, your view will give that error. Best thing to do if you don't want to see the date is add it and then make it hidden.

Took me like 6 hours to figure this out... :D

Happy days. Thanks for the tutorial!

That issue exists for me too. Googling the message took me to, where I tried implementing suggestion #27, but the post date now shows up in every date. If I remove it, then the error comes back.

I am having the same issue. Please help

I have the same issue.

I have the same issue. Here are the version I installed:
Drupal 6.14
Views 6.x-2.6
Date 6.x-2.4
Calendar 6.x-2.2

Please help!

I solved this by setting the Date argument to "Node: Date (field_date) - From date"

Hi im getting the same issue i dont understand what i need to do? can anyone assist?

Thanks, great site btw

awesome - very succinctly explained

Thanks for the great videos. I like your videos over several others that I watch.
Easy to follow.

Great tutorial; it really helped me understand not only the Views/calendar concepts but Drupal overall. Nicely done.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Most Recent Screencast

See video

Support the Association