Sun GlassFish Web Space Server 10.0 Administration Guide

Default User Private Layouts

Degault User Private Layouts is a property in the portal.properties file, which is the default configuration file for Sun GlassFish Web Space Server. You can override this property using portal-ext.properties file.

If the properties layout.user.private.layouts.enabled and layout.user.private.layouts.auto.create are both set to true, then users will have private layouts and they will be automatically created. The following settings are used for the creation of for the initial private pages.

If you need to add more than one page, set the property default.user.private.layout.lar to specify a LAR file instead.

For even more complex behavior, override the addDefaultUserPrivateLayouts method in com.liferay.portal.events.ServicePreAction.

Set the name of the private layout.


default.user.private.layout.name=Welcome

Set the layout template ID of the private layout.


default.user.private.layout.template.id=2_columns_ii

Set the portlet IDs for the columns specified in the layout template.


default.user.private.layout.column-1=71_INSTANCE_OY0d,82,23,61
default.user.private.layout.column-2=11,29,8,19
default.user.private.layout.column-3=
default.user.private.layout.column-4=

Set the friendly url of the private layout.


default.user.private.layout.friendly.url=/home

Set the regular theme ID for the private layout.


#default.user.private.layout.regular.theme.id=classic

Set the regular color scheme ID for the private layout.


#default.user.private.layout.regular.color.scheme.id=01

Set the wap theme ID for the private layout.


#default.user.private.layout.wap.theme.id=mobile

Set the wap color scheme for the private layout.


#default.user.private.layout.wap.color.scheme.id=01

Specify a LAR file that can be used to create the user private layouts. If this property is set, the previous layout properties will be ignored.


#default.user.private.layouts.lar=${resource.repositories.root}/deploy/default_
user_private.lar