#473 - Calendar Module Issue
The calendar module and My Calendar dashlet are showing activity for all users in the same Security group instead of just the activity of the logged in user.
The calendar module and My Calendar dashlet are showing activity for all users in the same Security group instead of just the activity of the logged in user.
10 years ago
Hey Nathan,
That has been fixed as of the 2.7.1 release: https://www.sugaroutfitters.com/docs/securitysuite/release-notes
-Jason
10 years ago
What can I do since I actually want that functionality?
10 years ago
Simply toggle the Shared Calendar - Hide Restricted option in SecuritySuite Settings: https://www.sugaroutfitters.com/docs/securitysuite/options#hiderestricted
10 years ago
Doesn't seem to do anything for me on v2.7.3. On v2.6.5, all group events showed up on a user's regular and dashlet calendars. The user did not have to navigate to the shared calender section.
10 years ago
I don't know what free securitysuite version comes with suitecrm, but that one shows the group events correctly on a users calendar.
10 years ago
It's an older version similar to v2.6.5. The specific behavior that you want isn't desired by most folks so it has been changed over to only show on shared calendars.
10 years ago
I would definitely add that as an option or add a group calendar dashlet like you did for group messages. For us (which I'm sure other people do as well), the manager likes to see his/her's employees calendar appointments right on the dashboard instead of now having to navigate to the calendar module and using the shared calendar. Can you send me the full version of SecuritySuite that has the functionality similar to what I had for v2.6.5 for sugar v6.5.16 (which I'm guessing is v2.7.0)?
10 years ago
You'll need to do a file comparison between what you have that works the way you want it to and the currently installed version and bring over the code that differs. It'll be in the /modules/Calendar directory and it's pretty minimal code to bring over.
Actually, it may just be in /include/utils/activity_utils.php. Try that first to see if that does the trick. Otherwise, it'll be the combo of the two.
10 years ago
I'll post back once I get a chance to look into this.
10 years ago
After installing v2.7.0 on v6.5.16 of sugar, the calendar seems to be working as it did on v2.6.5 for the handful of users I just checked. Now if I want to upgrade SecuritySuite and keep the group calendar functionality, I just need to look at the files in /modules/Calendar & /include/utils/activity_utils.php and compare them. Any other locations I might need to look at?
10 years ago
Those are the 2 only areas that you will need to look at.
10 years ago
Ok good to know.
10 years ago
Since v2.7.0 works as it did on v2.6.5 (which is what we want, a group calendar), how would I go about successfully downgrading from v2.7.3 to v2.7.0?
10 years ago
Those 3 files I mention above are the key files. Merge those files and take the v2.6.5 version of the SecuritySuite sections of code. That should do the trick.
10 years ago
Which 3 files, you only listed include/utils/activity_utils.php & the whole modules/Calendar which contains many files?
10 years ago
If you unzip SecuritySuite you'll see which files are touched in /install_dir/notupgradesafe/modules/Calendar. It should be CalendarActivity.php, CalendarDisplay.php, and tpl/shared_users.tpl.
10 years ago
Ok thanks. Will post back my results.
10 years ago
The only file to change was include/utils/activity_utils.php. Thanks for the help.