jimmy102
jimmy102
Offline
0
Is there a way to adjust what hours are visible on the day view as well as hide Saturdays & Sundays?
Responses (4)
  • Accepted Answer

    Tuesday, June 23 2015, 04:56 PM - #Permalink
    0
    to change the start hour (the first that is visible) is easy with just modifying one parameter, however to change the total hours displayed would require some heavier CSS adjustments. The same way, hide Sat and Sun will be tricky... also quite some CSS styling would be necessary for that, I'm afraid.
    The reply is currently minimized Show
  • Accepted Answer

    jimmy102
    jimmy102
    Offline
    Tuesday, June 23 2015, 05:02 PM - #Permalink
    0
    How can I adjust the first visible?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 23 2015, 05:09 PM - #Permalink
    0
    you need to modify one parameter in the JS file located here: /components/com_calendarplanner/assets/common.js.

    in line 4, you will see this:

    var vertical_move = 28;


    this is the parameter you need to change.

    this number must be 4 times the start hour you want. in this case, the start hour is 7am, therefore 7*4 = 28.

    let me know if this helps.
    The reply is currently minimized Show
  • Accepted Answer

    jimmy102
    jimmy102
    Offline
    Tuesday, June 23 2015, 05:27 PM - #Permalink
    0
    Thanks!
    The reply is currently minimized Show
Your Reply