Forums de discussion
Terms of Use
Neeta M, modifié il y a 13 années.
Terms of Use
Junior Member Publications: 27 Date d'inscription: 24/02/11 Publications récentes
How to change the "Terms of Use" portlet title to something else?
Or is it possible to remove the title?
Thanks.
Or is it possible to remove the title?
Thanks.
Andew Jardine, modifié il y a 13 années.
RE: Terms of Use
Liferay Legend Publications: 2416 Date d'inscription: 22/12/10 Publications récentes
Hi Neeta,
Have you tried overriding one of the portal.properties? ... I found these two items with description
#
# Specify the group id and the article id of the Journal article that will
# be displayed as the terms of use. The default text will be used if no
# Journal article is specified.
#
terms.of.use.journal.article.group.id=
terms.of.use.journal.article.id=
Have you tried overriding one of the portal.properties? ... I found these two items with description
#
# Specify the group id and the article id of the Journal article that will
# be displayed as the terms of use. The default text will be used if no
# Journal article is specified.
#
terms.of.use.journal.article.group.id=
terms.of.use.journal.article.id=
Neeta M, modifié il y a 13 années.
RE: Terms of Use
Junior Member Publications: 27 Date d'inscription: 24/02/11 Publications récentesAndew Jardine:
Hi Neeta,
Have you tried overriding one of the portal.properties? ... I found these two items with description
#
# Specify the group id and the article id of the Journal article that will
# be displayed as the terms of use. The default text will be used if no
# Journal article is specified.
#
terms.of.use.journal.article.group.id=
terms.of.use.journal.article.id=
Those work for the actual content that gets displayed on the Terms of Use page. I need to change or remove the title on the Portlet.
Thanks for your response.
Victor Zorin, modifié il y a 13 années.
RE: Terms of Use
Liferay Legend Publications: 1228 Date d'inscription: 14/04/08 Publications récentes
#1. Change value for 'terms-of-use' token in Language.properties or for your language
#2. (Quick hack for testing purposes). In Root/WEB-INF/tiles-defs.xml find section "portal.terms-of-use" and modify "title" value, e.g.:
#2. (Quick hack for testing purposes). In Root/WEB-INF/tiles-defs.xml find section "portal.terms-of-use" and modify "title" value, e.g.:
<definition name="portal.terms_of_use" extends="portal">
<!--put name="title" value="terms-of-use" /-->
<put name="title" value="This is My Terms of Use" />
<put name="content" value="/portal/terms_of_use.jsp" />
</definition>
Olaf Kock, modifié il y a 13 années.
RE: Terms of Use
Liferay Legend Publications: 6403 Date d'inscription: 23/09/08 Publications récentes
while we are at quick hacks: It might also work to identify the css selector in your theme and just "display:none;" the headline in your theme