Fórum

Remove site name from calendar

Adel B, modificado 8 Anos atrás.

Remove site name from calendar

Junior Member Postagens: 47 Data de Entrada: 05/08/14 Postagens Recentes
Hello,
In calendar portlet list of calendars shows something like this :
Liferay - calendar 1
Liferay - calendar 2
i want to remove the site name from the calendars list.

thank you!
thumbnail
Himanshu Bhandari, modificado 8 Anos atrás.

RE: Remove site name from calendar

Regular Member Postagens: 148 Data de Entrada: 09/05/14 Postagens Recentes
Hi
What are you trying to achieve this? Well Isn't Hook can be the solution? Or some configuration with the portlet itself?
Thanks.
adam Pega, modificado 8 Anos atrás.

RE: Remove site name from calendar

Junior Member Postagens: 47 Data de Entrada: 05/08/14 Postagens Recentes
Hi,
I don't need the site name in the calendar, if hook is the solution how to find the file to edit. Otherwise there is no configuration to do that.

thank you
thumbnail
Sandeep Nair, modificado 8 Anos atrás.

RE: Remove site name from calendar

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
It is not possible using hook. Calendar portlet is packaged as a separate portlet in the newer release of liferay. You have to extend the calendar plugin as described in the link below and do your changes in the custom plugin.

https://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/lp-6-1-dgen02-creating-plugins-to-extend-plugins-0

Regards,
Sandeep
adam Pega, modificado 8 Anos atrás.

RE: Remove site name from calendar

Junior Member Postagens: 47 Data de Entrada: 05/08/14 Postagens Recentes
Hi,
thank you emoticon