Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Shahin Ali
Remove links from My Account
4. Mai 2011 22:02
Antwort

Shahin Ali

Rang: Junior Member

Nachrichten: 25

Eintrittsdatum: 3. Mai 2011

Neue Beiträge

How can we hide the links like 'Instant Messenger' and 'Social Network' from the My Account details page.

Using Liferay 6 EE

Thanks folks
Sharath Babu A
RE: Remove links from My Account
5. Mai 2011 02:18
Antwort

Sharath Babu A

Rang: Regular Member

Nachrichten: 146

Eintrittsdatum: 18. Mai 2009

Neue Beiträge

Hi Shahin Ali,

As per your requirement, you need to remove the "Instant Messenger" & "Social Network" from the my accounts page. So for this you have to find them in the list & remove in the "categories_navigation.jspf" at liferay-portal-5.2.3\tomcat-6.0.18\webapps\ROOT\html\portlet\enterprise_admin


Thanks & Rgds,
Jim Perrin
RE: Remove links from My Account
5. Mai 2011 11:14
Antwort

Jim Perrin

Rang: New Member

Nachrichten: 7

Eintrittsdatum: 19. Oktober 2010

Neue Beiträge

You can add just the sections you want to your portal-ext.properties file

We use the values below, but you can adjust them as you see fit:

users.form.update.identification=websites,social-network
users.form.update.main=details,communities,user-groups,roles,pages,categorization
users.form.my.account.main=details,communities,user-groups,roles
users.form.my.account.identification=websites,social-network
users.form.my.account.miscellaneous=display-settings

If you don't want the social network settings, remove it from the list above.
Rojalin Patri
RE: Remove links from My Account
5. Mai 2011 23:00
Antwort

Rojalin Patri

Rang: Expert

Nachrichten: 287

Eintrittsdatum: 22. März 2011

Neue Beiträge

Hi,
The functionality related to 'Instant Messenger' and 'Social Network' can be removed from tomcat-6.0.18/webapps/ROOT/html/portlet/enterprise_admin/user instant_messenger.jsp, social_network.jsp. And as suggested by Jim the option itself can be removed from front-end by modifying the portal-ext.properties.
Shahin Ali
RE: Remove links from My Account
16. Mai 2011 00:42
Antwort

Shahin Ali

Rang: Junior Member

Nachrichten: 25

Eintrittsdatum: 3. Mai 2011

Neue Beiträge

Great guys....

success. emoticon Thanks a lot.
Nilesh Gundecha
RE: Remove links from My Account
16. Mai 2011 02:48
Antwort

Nilesh Gundecha

Rang: Regular Member

Nachrichten: 196

Eintrittsdatum: 30. November 2009

Neue Beiträge

Shahin Ali:
Great guys....

success. emoticon Thanks a lot.


Modifying jsp directly is not good practice. Best is you configure it in portal-ext.properties as suggested by Jim.

Regards,
Nilesh.