How to remove "DAY", "WEEK", ''MONTH'' buttons in Calendar?

I just want to keep SHARED MONTH and SHARED WEEK, I was wondering how to remove “DAY”, “WEEK”, ‘‘MONTH’’ buttons in Calendar?

2020-11-02 21.23.19 1b0c17a80252

Thank you very much

Try to do it by copying file modules/Calendar/index.php into custom/modules/Calendar/index.php
and modifying the views array to your needs.

Now when doing that, you will need to add the following entry to your config_override.php file:

$sugar_config['calendar']['default_view'] = 'sharedWeek';




1 Like