Jump to:

10848 Posts in 2516 Topics by 1792 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: 39305 Views
  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: Event Calendar Module Link to this post

    Ahh, indeed this is a new compatibility bug with 2.3. I've checked in a fix to the SVN. You can check it out at:

    svn co http://svn.codespaces.com/bluehousegroup/event_calendar

    Otherwise, tomorrow I'll make another zip file with the latest build.

    Sorry about that. Good thing 2.3 isn't an official release yet. Still have time to get it up to speed.

  • Chucky2k
    Avatar
    Community Member
    32 Posts

    Re: Preview: Event Calendar Module Link to this post

    Hi

    I have the Event Calendar installed and working great now. I have played with the templates to get the CalendarWidget displaying in my existing sidebar and have used <% if ClassName = Calendar %> to have it display on the Calendar page, however I also want it to display on the CalendarEvent pages but using <% if ClassName = CalendarEvent %> dosen't seem to return true on the page. I am sure it is something basic that I have missed. Any advice is greatly appreciated.

    Cheers
    David

    EDIT... Brain fade... Used the template to call a different include.. I hate it when I overcomplicate what I want to do.

    Thanks anyway

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: Event Calendar Module Link to this post

    Glad you're getting good use out of it. Keep me posted with any feedback you have. I'd also encourage you to check out the documentation, Recipes: Extending the event calendar to learn how to customize the calendar and calendar events.

  • George
    Avatar
    Community Member
    41 Posts

    Re: Preview: Event Calendar Module Link to this post

    Hello

    I have tried v0.1 and svn, but everytime I get an empty page after a dev/build.
    My testplatform are the latest silverstripe trunks.

    Thanks.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: Event Calendar Module Link to this post

    Can you turn on error reporting and let me know what error is being thrown?

  • George
    Avatar
    Community Member
    41 Posts

    Re: Preview: Event Calendar Module Link to this post

    No Silverstripe error but in messages.
    It seems there is an interaction with the calendar modul:

    PHP Fatal error: Call to undefined method Calendar::set_param() in /.../event_calendar/_config.php on line 9.

    PHP Warning: Warning: there are two 'Calendar' files both containing the same class: '/.../event_calendar/code/Calendar.php' and '/.../calendar/code/Calendar.php'. This might mean that the wrong code is being used. in /.../sapphire/core/ManifestBuilder.php on line 276

    I have deleted /.../calendar and no problem appears anymore.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: Event Calendar Module Link to this post

    Okay, so this is resolved? Looks like the duplicate class was causing both of those errors.

  • Chucky2k
    Avatar
    Community Member
    32 Posts

    Re: Preview: Event Calendar Module Link to this post

    Hi again UncleCheese,

    I've played more with the module and have extended it based on the recipe provided and have a problem after adding multiple different events.

    I added one event for Feb 17 and all displays fine on the "WorkshopHolder" PageType.
    I added a second event for Feb 20 but only the Feb 17 event displays on the "WorkshopHolder" PageType.
    I then added a third event for Feb 10 and now the "WorkshopHolder" PageType display only displays the Feb 10 and Feb 20 events.

    I have also tested this using the unextended page types from the downloaded module. I am also running 2.3 rc3.

    Thanks

    39305 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.