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.

All other Modules

Discuss all other Modules here.

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

Preview: Event Calendar Module


Reply

293 Posts   41960 Views

Avatar
Victor

9 April 2009 at 4:13am Community Member, 128 Posts


$_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

9 April 2009 at 4:41am 4085 Posts

Please post your code.

Avatar
Xeal

9 April 2009 at 6:18am (Last edited: 9 April 2009 6:21am), Community Member, 37 Posts

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

9 April 2009 at 6:24am 4085 Posts

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

9 April 2009 at 6:42am 4085 Posts

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

Avatar
Xeal

9 April 2009 at 6:47am Community Member, 37 Posts

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

9 April 2009 at 6:51am 4085 Posts

Thanks!

Avatar
Victor

9 April 2009 at 7:26am Community Member, 128 Posts


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