How to customize Calendar Additional Details

Hi,

my customer wants to change the displayed Details in Calendar and in Additional Details.

How to do that?

1) Day/Week/Month View

  

2) Additional Details: How to add arbitrary fields here?

  • Hello,

    The information for the Additional Details panel is located in a file called additionalDetails.php for the respective activity modules.

    To modify you would want to copy this file to the custom directory, make your changes, and Repair and Rebuild.

    For example if you wanted to change for Meetings copy the file at:

    modules/Meetings/metadata/additionalDetails.php

    to

    custom/modules/Meetings/metadata/additionalDetails.php

    and make any modifications to your template. The fields passed to the method I believe are for the entire bean. If you want to change for Calls and Tasks you would need to repeat for those modules.

    Hope this helps

  • Details and additional Details are built in JavaScript module modules\Calendar\Cal.js which is included in modules\Calendar\tpls\main.tpl which itself is used in modules\Calendar\CalendarDisplay.php.

    This module contains the class CalendarDisplay which is used in \modules\Calendar\Dashlets\CalendarDashlet\CalendarDashlet.php and modules\Calendar\index.php.

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