Yeah, sure sorry..
With the Event module, you have a Calendar page and Calendar Event page..
The problem is if I have 2 calendar pages (I actually have 3). My calendar widget which I've taken out of the main calendar template and put in the site template in sidebar switches the link based on what Calendar page you are viewing, and in all usual circumstances this is correct. However, my requirement is that the calendar ONLY links to the 'Events' calendar and it should not matter where in the page you are.
I'm guessing in a usual scenario, you'd have a Calendar, then Calendar Event pages, however, it doesn't seperate like the client requires and I need that distinguished separation to the events, but they still like the calendar.
So what typically is happening: I go to website, page calendar on template links to proper Events page, I click on date, go to event date page, the other Calendar pages are subpages, so I click on one of those to view them, then I navigate back to the index page, and the calendar links to whatever Calendar page I visited last.
So in essence, I was thinking the tinkering may lay along these lines:
public function CalendarWidget()
{
return new CalendarWidget($this, $this->start_date, $this->end_date, ($this->view == "default"));
}
To something like
public function CalendarWidget()
{
return new CalendarWidget($this, $this->start_date, $this->end_date, ($this->view == "Events"));
}
But that doesn't work...
I'd message you the site name, but it's a non profit org and I'm not sure we have permission to use all the pictures on the site yet, so I'm hesitant at making a public link. If you have an email, I can send you the link there.
Thanks.