Fórum

Announcements, Events and Activities label

thumbnail
Fil Giu, modificado 10 Anos atrás.

Announcements, Events and Activities label

Junior Member Postagens: 48 Data de Entrada: 20/11/13 Postagens Recentes
Hi,

I have Liferay 6.2 GA2 and Social Office 3.0

In the Dashboard page, I have changed the labels of "Upcoming Tasks" and "Microblogs" by portlet.xml under **\webapps\***-portlet\WEB-INF\portlet.xml.

I cannot change the labels of Announcements, Events and Activities portlets, because the the same operation does not work here.



I want to change this value for all users and not by a change in the GUI.

The inspect command for Announcementes label return:

<span class="portlet-title-text portlet-title-editable" id="yui_patched_v3_11_0_1_1396025021150_1667">Announcements</span>


Anyone can help me?
Thanks in advance.
thumbnail
Pankaj Kathiriya, modificado 10 Anos atrás.

RE: Announcements, Events and Activities label

Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
These labels comes from language properties.

javax.portlet.title.84=Announcements
javax.portlet.title.116=Activities


You can override that text using hook. Help Link for Overriding language property using hook


Regards
thumbnail
Fil Giu, modificado 10 Anos atrás.

RE: Announcements, Events and Activities label

Junior Member Postagens: 48 Data de Entrada: 20/11/13 Postagens Recentes
Hi Pankaj Kathiriya,

I have already tried this solution, but it does not work. emoticon
thumbnail
Krzysztof Gołębiowski, modificado 10 Anos atrás.

RE: Announcements, Events and Activities label

Liferay Master Postagens: 549 Data de Entrada: 25/06/11 Postagens Recentes
Hello Fil,
It is just a portlet title, you should be able to change it in configuration of Site Template Social Office User Home (using Administrator account).

Regards,
KG
thumbnail
Fil Giu, modificado 10 Anos atrás.

RE: Announcements, Events and Activities label

Junior Member Postagens: 48 Data de Entrada: 20/11/13 Postagens Recentes
Hi Krzysztof Gołębiowski,
in my environment this solution does not work. In a new environment it works fine.

My conclusion is that this could be due to a bug in Liferay, specifically this.

Thanks.