Project WebSynergy Milestone 4 Administration Guide

Default User Public Layouts

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 settings below are used for the creation of for 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