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

Preview: Event Calendar Module


Go to End


293 Posts   69240 Views

Avatar
Victor

Community Member, 128 Posts

9 April 2009 at 4:13am


$_Content doesn't exist anymore I should update that docuementation. You were correct to just use $Content.

Still all these three fields return empty


If you just get a blank page that says "Workshop" it means you haven't created a Workshop_Controller class.

Yes, I really missed it

Avatar
UncleCheese

Forum Moderator, 4102 Posts

9 April 2009 at 4:41am

Please post your code.

Avatar
Xeal

Community Member, 37 Posts

9 April 2009 at 6:18am

Edited: 09/04/2009 6:21am

Still haven't been able to fix the problem been trying all day. Before upgrading to the SVN version I had downloaded the version on the website. I used that one until I found out about the recent one being update on the SVN. Thing is after I upgraded the events in the Calendar stopped working.

I have SS Version 2.3.1. Is there any reason why changing event_calendar version would cause it to crash. I don't think it could be any of my code since all I did was create a basic calendar with events. I rebuilt the Database countless times and even delete the event_calendar module twice to rebuild the whole thing. Still no luck... I really hope to avoid having to reinstall my website but if it comes to that I'll do it, but I'd rather use that as an absolute last resort.

All help is appreciated :D

Avatar
UncleCheese

Forum Moderator, 4102 Posts

9 April 2009 at 6:24am

It appears this error occurs as a result of trying to include a template without specifying its file name. Can you check your template for <% include %> blocks?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

9 April 2009 at 6:42am

I just issued a patch for recurring events not respecting their end dates.

Avatar
Xeal

Community Member, 37 Posts

9 April 2009 at 6:47am

These lines were in CalendarEvent.. Not sure of their importance so I figured I'd ask before just removing them though that's what is causing the error. Thanks for the help :D

<% if Menu(2) %>
<% include SideBar %>
<div id="Content">
<% end_if %>
<% if Level(2) %>
<% include BreadCrumbs %>
<% end_if %>

Also I noticed a small spelling mistake on line 11 in CalendarEvent. Should be Filter not Fitler.
<h4><% _t('EVENTCALENDAR.FILTERCALENDAR','Fitler calendar') %>:</h4>

Avatar
UncleCheese

Forum Moderator, 4102 Posts

9 April 2009 at 6:51am

Thanks!

Avatar
Victor

Community Member, 128 Posts

9 April 2009 at 7:26am


I just issued a patch for recurring events not respecting their end dates.

r24. It really works but there is a bug:

I am creating event repeating Tue, weekly from April 1 to April 29. It creates nothing in May but it creates ghost links to days in May from April 28, 21, 14 - these 3 future instances -> May 5, 12, 19

Victor

Go to Top