Foren

Announcements, Events and Activities label

thumbnail
Fil Giu, geändert vor 10 Jahren.

Announcements, Events and Activities label

Junior Member Beiträge: 48 Beitrittsdatum: 20.11.13 Neueste Beiträge
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, geändert vor 10 Jahren.

RE: Announcements, Events and Activities label

Liferay Master Beiträge: 722 Beitrittsdatum: 05.08.10 Neueste Beiträge
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, geändert vor 10 Jahren.

RE: Announcements, Events and Activities label

Junior Member Beiträge: 48 Beitrittsdatum: 20.11.13 Neueste Beiträge
Hi Pankaj Kathiriya,

I have already tried this solution, but it does not work. emoticon
thumbnail
Krzysztof Gołębiowski, geändert vor 10 Jahren.

RE: Announcements, Events and Activities label

Liferay Master Beiträge: 549 Beitrittsdatum: 25.06.11 Neueste Beiträge
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, geändert vor 10 Jahren.

RE: Announcements, Events and Activities label

Junior Member Beiträge: 48 Beitrittsdatum: 20.11.13 Neueste Beiträge
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.