This wiki does not contain official documentation and is currently deprecated and read only. Please try reading the documentation on the Liferay Developer Network, the new site dedicated to Liferay documentation. DISCOVER Build your web site, collaborate with your colleagues, manage your content, and more. DEVELOP Build applications that run inside Liferay, extend the features provided out of the box with Liferay's APIs. DISTRIBUTE Let the world know about your app by publishing it in Liferay's marketplace. PARTICIPATE Become a part of Liferay's community, meet other Liferay users, and get involved in the open source project. « Torna a Portal Properties
Commonly Used Portal Properties
Table of Contents [-]
Introduction #
This page shows and links to some portal properties that are commonly used to configure Liferay installs. Please add properties that are only widely used to this page, and leave a good description so that people can understand what the property does. Also leave a version number next to the property that it was used with.
How to Use #
Portal properties can be set by creating a file called portal-ext.properties in your Liferay installation. For the tomcat bundle, you need to create it in:
{install directory}/liferay-{version}/tomcat-{version}/webapps/ROOT/WEB-INF/classes/portal-ext.properties Common Properties #
User Specified Password #
- Allows the user to specify a password at signup
- Versions: 5.2.x, 6.0.x
login.create.account.allow.custom.password=true
Recaptcha #
- Allows user to easily enable recaptcha
- Versions 5.2.x, 6.0.x
- See Recaptcha for the properties
MySQL #
- Allows user to enable MySQL Database
- Versions 5.0+
jdbc.default.driverClassName=com.mysql.jdbc.Driver jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false jdbc.default.username=YOUR USERNAME HERE jdbc.default.password=YOUR PASSWORD HERE
Related Links #
20738 Visualizzazioni