Training and Development for Drupal

Date + Calendar Screencast

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

Great Video! Found it almost

Great Video! Found it almost 2 years later and still helping. Thanks!

Hello Sean, congratulations

Hello Sean,
congratulations for your videos, it's a great help for drupal beginners like me.

many thanks from Spain.

all the best
Franz

Sean, thank very much for

Sean, thank very much for this vid, help me a lot to open my eye with drupal

Hi Sean, Thanks for this

Hi Sean,
Thanks for this tutorial !
Just a small question about date, do you know how to block access to past date when users fill the date field ? Thanks for the help !

Very nice, thanks!

Very nice, thanks!

Thnks u Very much. I still

Thnks u Very much. I still learn about VIEW. This video help me alot. Keep a good work!

Sean. I think I have watched

Sean.

I think I have watched this video a good 4 times now over the last year. Each time I have done so for a new website, and each time it has saved me from struggling through it all over again. I think I have it figured out permanently now, so thank you very much.

m.

Great tutorial! Thanks

Great tutorial!
Thanks

Helped me a lot. Thanks :) I

Helped me a lot. Thanks :)
I ran into this error "The date argument date fields must be added to this query. You can exclude them if you do not want them" and found the solution here: drupal.org/node/540804#comment-1990530

Great tutorial! Now I can set

Great tutorial! Now I can set to work with this great piece of how to do it...Thanks a million.

Derrick
(Berlin-Germany)

Thanks so much for this.

Thanks so much for this. Really appreciate it.

Thanks a million!

Thanks a million!

Thx a lot! Well done. Helped

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

You asked for it, here it

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

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.

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

Nice tutorial. Was not that I

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!!!

Excellent job!!!

youre the greatest

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

This video is great. I was

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.

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

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

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

This, ladies & gentlemen, is

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

thx

thx

Thanks! This is exactly what

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

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

Thanks,

Hi Sean, thanks for your good

Hi Sean,

thanks for your good explanation. :-)

Greetings from Germany Markus

Awesome tutorial. A really

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

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

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

Excellent work! Worked like a

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,

A fantastic tutorial, sean!
Thank you
-vallab

Thank you for the tutorial.

Thank you for the tutorial. Nice work.

Hi, i have problem... i did

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

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

Fantastic! Thank you

Fantastic! Thank you

thank you the video was

thank you

the video was quick, concise

Thank you very much! This was

Thank you very much!
This was highly helpful!

Looking forward your next tutorials!

Thanks once again,

Mário

thanks sean!

thanks sean!

Thanks so much ... but I got

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

Very useful and it worked great, thank you!

thanks a lot for the helpfull

thanks a lot for the helpfull class!
Flavio

Hi! Thanks for such a

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

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

Hi! Thanks for such a

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

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

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

Sorry I typed your name wrong. Sean

Thank

Thank you

seyretbi.com

dizifilm.seyretbi.com

Hi Can you explain me what i

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

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

Mollom CAPTCHA (play audio CAPTCHA)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated.

Most Recent Therapy

Most Recent Screencast

See video

Support the Association