I'll bet there's documentation out there to answer this question, but I haven't been able to find it.

I have event entries for several categories. I'd like to make menu links to the event calendar that calls it with filters pre-applied. For example, the Sales Department could link to a calendar showing only Sales Department events, the Production Department could have a link showing only Production Department Events, etc.

I see that you can expose the filters and have the user choose terms, but that's not what I'm looking for. I'm looking for a link that goes directly there. I understand that if I link to the calendar with event/yyyy/mm/dd/calstyle/nodetype/termid I'll get what I want, but I can't figure out how to make the yyyy/mm/dd values dynamically reflect today's date.

I'd be content to create views for each department if I could get them to link to events month style, but the event calendar wasn't available as an event view type, even though I had enabled event_views. So I installed Calendar, but now I'm at a loss for how to work with the arguments.

I feel like I must be missing something really obvious. Thanks in advance for any pointers in the right direction!

Relevant modules:
Drupal 4.7.4
Event: 1.183.2.17 2007/04/03
Views: 1.159.2.23 2006/12/09
Calendar: 1.13.2.42 2007/03/08
Date: 1.13.2.54 2007/04/19

Comments

emilyf’s picture

Category: support » feature

I also would like to dynamically call an event argument in the URL that will automatically take me to "today" with a filter pre-applied. For instance, based on a taxonomy term. I have searched at length to find info on it, and I have found nothing. I would greatly appreciate it even if you could offer a pointer in the right direction if this already exists.

The event argument would normally go:
event/2007/05/16/month/event/31

But dynamically generate today? Bascially, I want to do this:
event/$thisyear/$thismonth/$thisday/month/event/31

Where those variables automatically call a PHP date function in the module and bring you to today.

rubenk’s picture

nothing eh?

mrwuzzy’s picture

This is a really important feature and clearly missing. Please see the use case at http://drupal.org/node/177153 and comments as well.

michelle’s picture

Version: 4.7.x-1.x-dev » 5.x-2.x-dev

Bumping version. 4.7 isn't getting new features.

Michelle

mrwuzzy’s picture

Please see http://drupal.org/node/176966#comment-276922 for a hack to get this working.

eliza411’s picture

Status: Active » Closed (fixed)