Sun GlassFish Web Space Server 10.0 Administration Guide

Default User Public Layouts

Default User Public 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.public.layouts.enabled and layout.user.public.layouts.auto.create are both set to true, then users will have public layouts and they will be automatically created. The following settings are used for the creation of the initial public pages.

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

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

Set the name of the public layout.


default.user.public.layout.name=Welcome

Set the layout template ID of the public layout.


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

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


default.user.public.layout.column-1=82,23
default.user.public.layout.column-2=8,19
default.user.public.layout.column-3=
default.user.public.layout.column-4=

Set the friendly url of the public layout.


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

Set the regular theme ID for the public layout.


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

Set the regular color scheme ID for the public layout.


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

Set the wap theme ID for the public layout.


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

Set the wap color scheme for the public layout.


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

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


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