time slots

Is there a way to view more then eight hours at a time in the day calander?  

Parents
  • Patrick,

    If you click Settings you can adjust the Start Time and End Time displayed on the calendar.  In my screenshot below, my view encompasses 24 hours in the day.

    https://screencast.com/t/2Nh7Zb7X7n9 

  • The height of the Calendar day view is defined in core code in module modules/Calendar/CalendarGrid.php (near line 50). In this code the height of the day view is defined fix as 480px.

              $this->scrollable = false;
            if (!($this->cal->isPrint() && $this->cal->view == 'day')) {
                if (in_array($this->cal->view, array('day', 'week', 'shared'))) {
                   $this->scrollable = true;
                   if($this->cal->time_step < 30)
                        $this->scroll_height = 480;
                   else
                        $this->scroll_height = $this->cal->celcount * 15 + 1;
               }
            }

    You could change that in a on-premise installation e.g. because you want to print a whole day schedule on one sheet of paper, but nethertheless you have to scroll the outer window to see the whole day on screen. But remember it is a core change which is not upgrade-safe.

    Harald Kuske
    Principal Solution Architect – Professional Services, EMEA
    hkuske@sugarcrm.com
    SugarCRM Deutschland GmbH

Reply
  • The height of the Calendar day view is defined in core code in module modules/Calendar/CalendarGrid.php (near line 50). In this code the height of the day view is defined fix as 480px.

              $this->scrollable = false;
            if (!($this->cal->isPrint() && $this->cal->view == 'day')) {
                if (in_array($this->cal->view, array('day', 'week', 'shared'))) {
                   $this->scrollable = true;
                   if($this->cal->time_step < 30)
                        $this->scroll_height = 480;
                   else
                        $this->scroll_height = $this->cal->celcount * 15 + 1;
               }
            }

    You could change that in a on-premise installation e.g. because you want to print a whole day schedule on one sheet of paper, but nethertheless you have to scroll the outer window to see the whole day on screen. But remember it is a core change which is not upgrade-safe.

    Harald Kuske
    Principal Solution Architect – Professional Services, EMEA
    hkuske@sugarcrm.com
    SugarCRM Deutschland GmbH

Children
No Data