Jump to:

10850 Posts in 2517 Topics by 1793 members

All other Modules

SilverStripe Forums » All other Modules » EventCalendar: Cannot choose start and end date

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 930 Views
  • ivegg
    Avatar
    Community Member
    7 Posts

    EventCalendar: Cannot choose start and end date Link to this post

    Hello all

    I installed silverstripe 2.4. Everything is ok. Now i decided to install the event calendar module. I took the latest version from the svn repository and installed it as described. I also had to add DataObjectManager and Legacydatetimefields. Additionally i had to replace 'Database' with 'DB' in RecurringDayofWeek.php and RecurringDayofMonth.php to get it working. Now i can create a new calendar without any problem. But when i want to create a new CalendarEvent it's impossible to choose start and end dates. The textfields seem to be locked (disabled) and there is no datechooser. Can anybody help me please?

    -ivegg

  • UncleCheese
    Avatar
    4085 Posts

    Re: EventCalendar: Cannot choose start and end date Link to this post

    Sounds like you got the wrong version. DB was changed to Database in 2.4, so if you're running 2.3, you need to get the 2.3 version of EventCalendar:

    svn co http://bluehousegroup.svn.beanstalkapp.com/modules/branches/2.3/event_calendar

  • ivegg
    Avatar
    Community Member
    7 Posts

    Re: EventCalendar: Cannot choose start and end date Link to this post

    hi UncleCheese

    Well, you are right. I got confused, actually i didnt replace the Database with DB. I definately got Silverstripe 2.4. Do you have any other idea?

    Thanks
    -ivegg

  • UncleCheese
    Avatar
    4085 Posts

    Re: EventCalendar: Cannot choose start and end date Link to this post

    There are no date pickers in the popup window? You click on the text fields and nothing happens? Are there any javascript errors?

  • ivegg
    Avatar
    Community Member
    7 Posts

    Re: EventCalendar: Cannot choose start and end date Link to this post

    Hi

    I just tried again. Nothing happens..Nothing at all. There are no javascript errors. However, what i noticed was that the layout doesn't seem to be alright. For example the table with added dates and times seems not having been affected by css ...somehow. There are also some css warnings. Pls look at the 2 screenshots i took.

    Thanx for further help
    -ivegg

    Attached Files
  • UncleCheese
    Avatar
    4085 Posts

    Re: EventCalendar: Cannot choose start and end date Link to this post

    Don't forget to rename your module folders.. "event_calendar" and "dataobject_manager".. otherwise, the CSS and javascript dependencies can't be found.

  • ivegg
    Avatar
    Community Member
    7 Posts

    Re: EventCalendar: Cannot choose start and end date Link to this post

    ...THANK YOU!!!

    ...for the quick answer. Indeed the problem was that the folder's name was not dataobject_manager. It's supposed to work now. i also have the module legacydatetimefields. The folder for this is called legacydatetimefields-trunk-r100315. Do you think i have to rename it to make things working properly?

    -ivegg

  • UncleCheese
    Avatar
    4085 Posts

    Re: EventCalendar: Cannot choose start and end date Link to this post

    Usually, if there are JS or CSS dependencies. When you get modules with SVN, it's usually not an issue, but the SS download page appends the rev numbers to the folders and it can cause problems. Future versions of my modules will check to see if the parent directory is correctly named.

    930 Views
Page: 1
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.