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.

Comments

Thanks so much for this. Really appreciate it.

Thanks a million!

Thx a lot! Well done. Helped me big time.

You asked for it, here it is:

Thanks a lot ! Really nice job, really easy to understand.

I was stuck on the point of selecting the custom date field that i created, but your videos solved my issue!

Merci beaucoup,

A french guy ;)

Thank you for this awesome site. I've played a couple of videos and I am so happy already.

Very nice, keep up the great work!

Very good video - thank you. How do I find a similar video for Upcoming Events?
Lindy

Nice tutorial. Was not that I searched for, but watched the whole video because it was so good!

Keep up the good work.

Excellent job!!!

youre the greatest man!!!!!!!!!!!!!!!!!!!

This video is great. I was having difficulty in getting the events to show up on the day they occur. Towards the end of the video, Sean said how to do it. I really appreciate the work.

Thank you so much for this. Maybe it's because it's 5/2010 there's some differences. When I added the content type everything was cool 'til I got to Default display. I'm from the USA so I switched it at the top just like you did but there's no way for me to match it at the bottom. All I have to choose from is long, medium or short. So when I look at the events I made up instead of seeing 5/24/2010 7:00 p.m. to 11:00 p.m. I see 5/24/2010 19:00 to 23:00...military time.

I don't know if Calendar had made a View for Views back then but they have now. And I used it instead of what you used. I had to change their fields from node date to content date. Same thing for the arguments. But they also have sort criteria (node updated date asc) & a filter (published).

Anyway...when I look at my calendar...other then the military time...I also see several days from the month before. Does anybody know where/how I can fix that? Otherwise all I have left to do is get rid of the date being posted on the date, make it match the site & figure out how to get it to work with RSVP. But thanks so much for giving me a heck of a start. :)

Thanks for this any all the tutorials you do. However, I would like to suggest that you start each video with the end goal. Show the result of your configuration (perhaps recorded later, then added to the front) so that we have some idea of what you're trying to accomplish before you start. Also, it gives us a chance to see if this topic is what we want before we wait through the whole video!

not only was it just what i needed...but it made totall sense! thank you so much :-)

This, ladies & gentlemen, is how tuts *should* be done. Amazing work!

thx

Thanks!

This is exactly what I needed. You posted this a year and a half ago, and it's still helping people!

Man I love your explanation because it is very clear and easy to flow. Keep going.

Thanks,

Hi Sean,

thanks for your good explanation. :-)

Greetings from Germany Markus

Awesome tutorial. A really big help with the event module not ready for drupal 6. Thanks

Thanks you!!!!!!!!!!

Excellent work! Worked like a charm. I am wondering though, how to get the mini-calander to show up on the home page?

A fantastic tutorial, sean!
Thank you
-vallab

Thank you for the tutorial. Nice work.

Hi, i have problem... i did everything just like u, but i dont have "Event" content type there... where you get that from ? T_T

i have the same problem
and in date and time section there no formatting section

Fantastic! Thank you

thank you

the video was quick, concise

Thank you very much!
This was highly helpful!

Looking forward your next tutorials!

Thanks once again,

Mário

thanks sean!

Thanks so much ...

but I got one problem.

If I edit event record... time changed...+7

My timezone setting is LA... +8

and server location is arizona..(godaddy.com)

How can I Fix this problem..

thanks again

Very useful and it worked great, thank you!

thanks a lot for the helpfull class!
Flavio

Hi!
Thanks for such a wonderfull screencast.
I have a query here. I tried and followed each step explaned in the tutorial but I am not getting the Navigation for months and the month's name in the top as shown in the screencast. Can anyone help me in this regard.

Thanks and regards.

Nice video....presented in an excellent manner.

Hi!
Thanks for such a wonderfull screencast.
I have a query here. I tried and followed each step explaned in the tutorial but I am not getting the Navigation for months and the month's name in the top as shown in the screencast. Can anyone help me in this regard.

Thanks and regards.

Hi Sean,
thank you very much!, all your videos are a great help for begginers like me.

thanks again

Hi Seab!
thanks for such a wonderfull tutorial. I am getting a problem here.
I cant see the name of the month and the next and the previous monthe arrows. Can you please guide me what am I missing.

Thanks

Sorry I typed your name wrong. Sean

Thank you

seyretbi.com

dizifilm.seyretbi.com

Hi

Can you explain me what i do wrong ?
jakiecudne.pl/calendar/2010-W11
How can i link title event to node ? Now its trying open calendar page in new window. Why ?

regards,
asmo

Very helpful, thanks a lot.

Mike from Scotland

Hi Sean:)

i have a little question for the date_browser....

The Standart view is Month... but i need a Week view for standart view when i go on date_browser.

Who can i change this view?
a little help where very nice..

thanks from germany..

mfg
Michael

Thanks for this Screencast, It really helped me.

You're awesome! guy!

Thanks! A very good tutorial.

Well done Sean. Much appreciated.
Leon,
Vinceremo (Netherlands)

Thanks Sean,
It really helps with my old memory to have the visual reinforcements and your oral descriptions of how it works. For us newbies, it makes a difference.
Tim

Thanks Sean!

This is BY FAR the best video I've found on calendar creation!

Thing of beauty. Thank you!

I am getting the following error when editing the view.
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.

I found the solution to this error here:
drupal.org/node/540804

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