1) How can I change the colored stripe for an event? Right now, all of my events are yellow. I can't for the life of me figure out where this can be changed.

2) We have some events that are more than 1 day. For example, a theater show for seven days, every day at 7pm. Right now, it just says "start: 7pm" on the first day, and "all day" on the next five days, and "end: 10pm" on the last day. Is there a way to do this without having to create a seperate event for each day?

3) This is a stretch, but we also have an event that is from 2pm - 5pm, then again from 7pm - 10pm. I suppose this wouldn't work, but I'm asking as long as I'm here.

My setup is at http://tinyurl.com/3ckxvf if you want to check it. I followed the tutorials and got everything set up the way that they said. I like the calendar, it looks great...much better than my competitor's solution! :)

Comments

KarenS’s picture

Status: Active » Fixed

1) There are several outstanding feature requests for changing the way the stripe and legend work. At the moment you can't.

2) There are themes you can override for this, like theme_calendar_node_month(). The classes 'start', 'end' and 'onging' tell you what sort of date you are working with.

3) You could do this with a CCK date field. Check the box to make it 'multiple', then fill out the two different times. That should display fine in the calendar.

Ningbo1’s picture

1) Gosh, darn.

2) That's Greek to me. ??

3) I can't seem to find the "multiple" button. In /admin/build/views/calendar/edit, I found "Use Pager - If checked this query may be multiple pages. If not checked this query will be one page." and also "Group multiple values" in Date: Time (field_time)?

KarenS’s picture

2) You need to read up on how to override Drupal themes. The themes are in calendar.theme and basically you copy the one you want to override to template.php in your theme folder, rename it from theme_whatever to garland_whatever (substituting your own theme name for garland), then make whatever changes you want to make. I don't have time to explain Drupal themes in more detail here, look around the Drupal site for more help on that.

3) The multiple option is in the date field. Go to admin/content/types/mytype, find your field on the 'Manage Fields' tab and edit it, and you will see there is an option to make it multiple.

Ningbo1’s picture

3) Now I have one event with that shows up two times each day on the monthly calendar. The Start and End only show up on the first and last events, all the ones in between show "all day". Sigh.

Okay, I get the distinct impression that I'm trying to do things that the module just wasn't intended to do. I feel like I'm the only person in the world who wants to do these things.

KarenS’s picture

The module is extremely flexible if you know how Drupal's theme system works. That's how you can change things like the 'start' and 'end' text.

I can't spend any more time on this right now. Most or all of what you want to do can be done with this module and some themeing, but you'll have to take some time to learn how Drupal themeing works. It's well worth while to learn Drupal's theme system because it can be used in countless ways in every Drupal module to tailor your site to look exactly the way you want.

Anonymous’s picture

Status: Fixed » Closed (fixed)