WordPress.org

Ready to get started?Download WordPress

Forums

All-in-One Event Calendar
[resolved] "time frame" on week views (6 posts)

  1. wplg
    Member
    Posted 1 year ago #

    please add the ability to select the time of day the "week" view generates so that it does not look empty until you scroll.

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

  2. Richard
    Member
    Posted 1 year ago #

    Hi wplg,

    We have it on the roadmap to add this feature on the front end, however in the interim, you can change this by editing the code on the backend:

    Open the file load_views.js found in

    wp-content\plugins\all-in-one-event-calendar\app\view\admin\js\scripts\calendar

    Find where it says:

    $( '.ai1ec-oneday-view .tablescroll_wrapper, .ai1ec-week-view .tablescroll_wrapper' ).scrollTo( '.ai1ec-hour-marker:eq(6)' );

    and change '6' to the time you want to start at.

    That should do the trick.

  3. beth@thisisit.ca
    Member
    Posted 1 year ago #

    Hello there Richard, I would like the weekly and daily schedule to start at 7am and end at 8pm. How do I do that in load_views.js ??
    If you can send me the specific details that would be great. Thanks.

  4. Richard
    Member
    Posted 1 year ago #

    Hi Beth,

    As described above, open that js file and change the number 6 to 7. This should change the start time to 7am. This should do it, but let me know if you need a hand with anything else.

  5. beth@thisisit.ca
    Member
    Posted 1 year ago #

    Thanks Richard, I will try that but how about the end time? How do I change that?

  6. Richard
    Member
    Posted 1 year ago #

    Hi Beth,

    When you change the start time, the end time will be determined by the size of the space available to view the calendar. In other words, you can only change the start time, then the calendar will show from the start time onward.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.