Forums de discussion

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

Carlo Cavallieri, modifié il y a 9 années.

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

Junior Member Publications: 69 Date d'inscription: 07/03/08 Publications récentes
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, modifié il y a 9 années.

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

Liferay Legend Publications: 2416 Date d'inscription: 22/12/10 Publications récentes
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, modifié il y a 9 années.

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

Regular Member Publications: 188 Date d'inscription: 01/09/10 Publications récentes
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...