Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

EventCalendar and events in the past?


Go to End


6 Posts   1273 Views

Avatar
Pipifix

Community Member, 56 Posts

25 June 2010 at 3:35am

Hello Everybody.

I've integrated the Eventcalendar module (SS2.4) in a site for a local 3D-Conference. Usually there are 3 events in a year. The plan was to set up different calendars for each conference to hold the different calendar events (e.g. presentations, speeches). The first event was in May. So, the events are in the past and are not shown in the calendar. For archiving purposes, i want to show the former events. How do i modify the module to make the calendar stick to a specific date? Or is there a way to filter a global calendar holding several conferences (also with presentations in the past)?

Greetings from sunny Germany
Pipifix

Avatar
UncleCheese

Forum Moderator, 4102 Posts

25 June 2010 at 11:51am

I'm not sure what you mean by "stick to a specific date", but you can add a date filter to the calendar through the URL, for instance:

Show all events in May, 2010
/your-calendar/view/201005

Show all events on May 21, 2010
/your-calendar/view/20100521

Show all events for 2009
/your-calendar/view/2009

Show all events between February 20 and April 15, 2010
/your-calendar/view/20100220/20100415

So if you want to customisze the view, you can set up a redirector page to go to the specific filtered view that you want.

Avatar
davidm2010

Community Member, 107 Posts

26 June 2010 at 12:12am

Where do you get the latest code for event calendar and 2.4?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

26 June 2010 at 1:45am

SVN is the best way..

svn co http://bluehousegroup.svn.beanstalkapp.com/modules/trunk/event_calendar

But I think the SS download page is on that branch anyway, so everything should be 2.4 now.

Avatar
Pipifix

Community Member, 56 Posts

26 June 2010 at 4:29am

Thanks, Uncle Cheese. Thats exactly what i want. You helped a lot.

pipifix

Avatar
davidm2010

Community Member, 107 Posts

26 June 2010 at 6:48am

It is still not on the modules page, but thank you.