Foren

Calendar portlet - is possible to have only "Site Calendar"?

Carlo Cavallieri, geändert vor 9 Jahren.

Calendar portlet - is possible to have only "Site Calendar"?

Junior Member Beiträge: 69 Beitrittsdatum: 07.03.08 Neueste Beiträge
Hi all,
is possible to disable the view (and also the creation) of personal calendars and leave only the option to view site calendar? (and manage for sites Administrators)
the objective is: allow user of a site to see only site events ( which are viewable for all the site members ) but disallow the creation of personal calendars
thumbnail
Andew Jardine, geändert vor 9 Jahren.

RE: Calendar portlet - is possible to have only "Site Calendar"?

Liferay Legend Beiträge: 2416 Beitrittsdatum: 22.12.10 Neueste Beiträge
Hi Carlo,

I just had a look around and I can't see anything (via configuration, permissions or properties) that would let you make such changes. Given that the calendar is a plugin and not part of the core application that means that you JSP Hooks are out for you. The simplest solution in this case might be to simply clone the project from gihub and update the relevant JSP files to remove references and actions to personal calendars.
Hiran Chaudhuri, geändert vor 9 Jahren.

RE: Calendar portlet - is possible to have only "Site Calendar"?

Regular Member Beiträge: 188 Beitrittsdatum: 01.09.10 Neueste Beiträge
Andew Jardine:
The simplest solution in this case might be to simply clone the project from gihub and update the relevant JSP files to remove references and actions to personal calendars.

Another solution might be to not remove the references and actions but to put authorisation behind it. Once pushed back to GitHub everybody might be happy that personal calendars could be deactivated just per configuration...