Jump to:

10929 Posts in 2613 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Preview: Event Calendar Module

Discuss all other Modules here.

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

Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
Go to End
Author Topic: 40771 Views
  • Victor
    Avatar
    Community Member
    128 Posts

    Re: Preview: Event Calendar Module Link to this post


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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: Event Calendar Module Link to this post

    Please post your code.

  • Xeal
    Avatar
    Community Member
    37 Posts

    Re: Preview: Event Calendar Module Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: Event Calendar Module Link to this post

    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?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: Event Calendar Module Link to this post

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

  • Xeal
    Avatar
    Community Member
    37 Posts

    Re: Preview: Event Calendar Module Link to this post

    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

    <% 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>

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: Event Calendar Module Link to this post

    Thanks!

  • Victor
    Avatar
    Community Member
    128 Posts

    Re: Preview: Event Calendar Module Link to this post


    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

    40771 Views
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.