ii) In Liferay Tomcat Bundle (considering liferay tomcat bundle 6.2) the path of this page is
iii) In Liferay source code the path of the page is
Restart of tomcat server is needed to reflect this change.
Customize terms_of_use.jsp by Hook:
In the above properties we should specify the groupId and article id of the web content. Follow the below steps to know article ID and groupId
Finding Article ID:
Go to the control panel and create a web content. I have created web content with name liferay-terms-of-use. After creating the web content publish it. Follow the below screen shot to find out article ID.
Finding Group ID:
Group ID is nothing but the Site ID in which our web content belongs. In the above we have created the web content. The web content should be associated with a particular site. So we need the group ID of that site. Refer the below screen shot.
To find out the final site ID navigate like
Control Panel -> Sites -> Liferay -> Configuration -> Site Settings
So according to my web content article id and group id the final properties in portal-ext.properties will look like
Download Source Code:
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.