Jump to:

10987 Posts in 2724 Topics by 1817 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: 41492 Views
  • Victor
    Avatar
    Community Member
    128 Posts

    Re: Preview: Event Calendar Module Link to this post

    Yes, I followed

    http://doc.silverstripe.com/doku.php?id=recipes:extending_the_event_calendar

    but it is the remnant of the days when there was no popup but each field at table was filled separately.

    Now problem solved

    Thanks a lot. Victor

    PS. At this moment I recall issues:
    1) Ghost Next Meetings (if I create Repeating Event(1 week) with the last day April 28 then there is no event on May 5,12,19 but they are listed as Future Events ("see other dates") on April 28 and May 5,12 are also listed on April 21, May 5 is listed on April 21)

    2) Import of ICS (I noticed you are working)

    3) Export of repeating event - I understand the difficulty now;

    4) Again repeating event - it would be nice after creating it to have a procedure to breaking it into single events - or to create many single events in one shot: say we are planning seminar each Friday, 14:10 to 15:00, from September X to December Y, each meeting has TBA speaker, .... , Content; those will be clarified in the future and filled differently for each meeting. It cannot be done probably as repeating event because $Content of each meeting is different and it is really $Content, it requires TinyMCE to edit

    5) Alignment in blackcandy

  • George
    Avatar
    Community Member
    41 Posts

    Re: Preview: Event Calendar Module Link to this post

    The content in announcemnt does not show anymore the linefeeds entered in content.
    Something changed?

  • Xeal
    Avatar
    Community Member
    37 Posts

    Re: Preview: Event Calendar Module Link to this post

    I searched the entire directory and couldn't find calendar_toggle.js is the file supposed to be included or do we get it off of somewhere?

    Also still having trouble with the Extendend Calendar the announcements tab doesn't add anything to my database. I click add Calendar Date Time. Fill in all the fields, then click save. It then says success! (close popup), but the fields are still blank.. Any ideas?

    public function init()   {
       parent::init();
       Requirements::javascript('mysite/javascript/calendar_toggle.js');
    }

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: Event Calendar Module Link to this post

    Make sure you're on the latest version. All of those look like relics from old versions.

  • Victor
    Avatar
    Community Member
    128 Posts

    Re: Preview: Event Calendar Module Link to this post

    Xeal, You can steal calendar_toggle.js from

    http://eventcalendar.bluehousegroup.com/advanced-calendar/

  • Xeal
    Avatar
    Community Member
    37 Posts

    Re: Preview: Event Calendar Module Link to this post

    Thanks Victor!

    I checked out from the SVN so I should have the latest version (Revision 24), but the problem persists. I'm using FF 3 but I doubt the browser has anything to do with it since the non Extended Calendar adds announcements properly. I agree that it's weird that it wouldn't be working either, which is why I'm at a loss.

    I'll go through my code line by line see if I might've missed something that wouldn't throw an exception but might cause a bug

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: Event Calendar Module Link to this post

    The calendar_toggle.js is legacy from when the Calendar supported control over event display behavior. It doesn't do that anymore. Where are you finding a reference to this file?

    Can you explain what you are doing that is causing the announcements to break?

  • Victor
    Avatar
    Community Member
    128 Posts

    Re: Preview: Event Calendar Module Link to this post

    class WorkshopHolder_Controller extends Calendar_Controller
    {
       public function init()
       {
          parent::init();
          Requirements::javascript('mysite/javascript/calendar_toggle.js');
       }
    }

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