time slots

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

Parents Reply Children
  • Thank you Christian,

    This will work, however this is in military time.  Is there a way to use standard and still show more than eight hours at once without have to scroll up and down?

    Thank you,

    Pat Johnson

    Account Manager

    DeVere Company, Inc.

    1923 Beloit Ave.

    Janesville, WI 53546

       608-449-9301

      608-314-0964

    Pjohnson@deverechemical.com<mailto:Pjohnson@deverechemical.com>

    www.deverechemical.com<http://www.deverechemical.com/>

    <https://www.linkedin.com/company/devere-company-inc.?trk=company_logo>

  • 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