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

Event Calendar Module - Configuration


Go to End


3 Posts   1662 Views

Avatar
FireMe!

Community Member, 74 Posts

30 March 2009 at 2:59am

Hi

When I go the the calendar configuration tab in the CMS and set upcoming events to 0 which says 0 sets it to all events the calendar will display none. and when i set it to any other number above 3 it will only displays the next 3 events. any one else having this problem, Does 0 set to all or not? has this problem happened since the new SS version?

Thanks in Advance

FireMe

Avatar
UncleCheese

Forum Moderator, 4102 Posts

30 March 2009 at 7:27am

The logic is a bit confusing on this. Let's see if I can help you out. First, ignore the 0 for unlimited events. I'm not going to support that. Too much risk for infinite loops with the repeating events. Second, understand that the default view of the calendar is just the next X number of events. It is not contained to a specific month or year. The reason we chose this behavior is because showing a view such as the current month could be almost useless if it is the 29th of the month. Or if your calendar is really sparse, it could get spooky if there are no events for the month.

That said, the calendar needs some kind of scope to work with when getting the next X number of events due to the way recurring events are injected into your calendar. So for lack of a better idea, we chose 6 months. If you have events dating out further than 6 months, they simply will not be included in your default view.

So, I guess the next question is, how far in the future is your 4th event? :)

Avatar
FireMe!

Community Member, 74 Posts

30 March 2009 at 7:36am

ive fixed it now i just downloaded the version of the calendar module off bluehousegroup website, there must be something in the svn version it dont like.

Thanks for your reply anyways

p.s the upcoming events where all in the same month and it would display like event1 23rd, event3 25th, event4 27th but there was 4 events event1 23rd, event2 22nd, event3 25th, event4 27th