Sun GlassFish Web Space Server 10.0 Administration Guide

Default Guest Public Layout

Default Guest Public Layout 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.

The Guest group must have at least one public page. The settings for the initial public page are specified in the following properties.

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

For even more complex behavior, override the addDefaultGuestPublicLayouts method in com.liferay.portal.service.impl.GroupLocalServiceImpl.

Set the name of the public layout.


default.guest.public.layout.name=Welcome

Set the layout template ID of the public layout.


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

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


default.guest.public.layout.column-1=58
default.guest.public.layout.column-2=47
default.guest.public.layout.column-3=
default.guest.public.layout.column-4=

Set the friendly url of the public layout.


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

Set the regular theme ID for the public layout.


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

Set the regular color scheme ID for the public layout.


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

Set the wap theme ID for the public layout.


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

Set the wap color scheme for the public layout.


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

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


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