Liferay customisations

Changing database
Setting up Liferay to use MySQL.

create the user
[pkane@LONDON|c:\_projects\myportal\mysql-5.1.34-win32\bin] mysql --user=root mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.1.34-community MySQL Community Server (GPL) Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> CREATE USER 'portal'@'localhost' IDENTIFIED BY [password]; Query OK, 0 rows affected (0.00 sec) mysql> GRANT ALL PRIVILEGES ON *.* TO 'portal'@'localhost' WITH GRANT OPTION; Query OK, 0 rows affected (0.03 sec) mysql> CREATE DATABASE Portal; Query OK, 1 row affected (0.00 sec)

create the database
mysql> create database lportal character set utf8; Query OK, 1 row affected (0.03 sec)

configure liferay

 * see portal-ext.properties

portal-ext.properties
To change the setting of Liferay you to add you customisation to the file /ROOT/WEB-INF/classes/portal-ext.properties

For domain specific customisations need to be in the file ''portal-[domain].properites.


 * extended portal-ext.properties
 * base portal.properties

Settings I have discovered that do not work in the domain specific properties
 * mail setting

Language bundle
Create /ROOT/WEB-INF/classes/content/Language-ext.properties

category.canopy=Canopy category.linhope=Linhope