What do I need to use calendar?

miasmo - October 24, 2009 - 17:16

I would like to create a monthly calendar. I have installed the calendar, date, views, and CCK modules. It is my understanding that the calendar module relies on all of these other modules in some way.

My question is "Which sub-modules do I need to enable?" CCK has nine sub-modules. Should I enable all of them? Which ones are necessary for what I want to do? Also, do I need to enable the Views exporter?

Sorry if this is a dumb question. Any help will be greatly appreciated.

Probably need more info

matt_harrold - October 24, 2009 - 17:51

Probably need more info (you've started with the right ingredients).

What do you want to put on the calendar?

The calendar is only a time based view of content .... what's the content?

BTW: you'll need CCK, Date, Date API, etc ... all those ... whether you need other sub modules depends on the content you want to present on your site.

more info

miasmo - October 24, 2009 - 18:08

Hey,

Thanks for the response.

This is for a band website. I want to be able to display our upcoming gigs in a monthly calendar view as well as having a small box on the front page that shows 2 or 3 or 4 of the soonest gigs in list form.

Also, we frequently play many of the same places over and over, so I would like to be able to select the venue name from a list for that field.

I hope this makes sense. Thanks.

=-=

VM - October 24, 2009 - 18:24

calendar.module comes with a view that can be cloned that provides the calendar and blocks you need.

venues from a drop down will likely require a venue content type and a node reference.
Another method may be to use taxonomy to do so.

VeryMisunderstood is actually

matt_harrold - October 24, 2009 - 20:01

VeryMisunderstood is actually seldom misunderstood ... what she/he said.

Node reference and a custom content type for (repeating) gig venues is a good idea. Much more flexible than a taxonomy of venue terms.

If you start to bang it out .... it will start to take shape and make sense.

Thanks

miasmo - November 5, 2009 - 21:08

I ended up getting something to work. I created a field called venue for the content type "date." I would eventually like to have the city as a field and have it be associated with the venue field. Perhaps I need to create a venue content type like you suggested. I hope there is some way to have instances of the venue content type be available as drop down menu choices for the venue field for the date type and bring along the city info as another field for "date." I'll have to monkey around with it after I make a little more progress on my Zen subtheme css.

Thanks for your help!

If you create a content type

matt_harrold - November 6, 2009 - 05:35

If you create a content type called Venue, you can either add your own City field or use the Location module to give the venues full addresses, phone, fax, and lat/long for a Google map. Then in your Date content type, create a Node Refererence CCK field called field_venue, in the options ... use a "select list", you'll get a drop down list of venues (rather than typing).

Just a quick idea ... if you install the auto_nodetitle module, you could set it up to automatically fill in the gig title with the Venue name. This means adding a new gig (at an existing venue) would be as easy as selecting a date, selecting a venue, and hitting the submit button.

Other modules that could help are prepopulate, and noderefcreate ... but I don't want to overload you with too much. Good luck.

Thanks!

miasmo - November 7, 2009 - 16:27

Much thanks for all the great info!

 
 

Drupal is a registered trademark of Dries Buytaert.