掲示板

Theme standard layout?

thumbnail
12年前 に lutz Bremen によって更新されました。

Theme standard layout?

Expert 投稿: 291 参加年月日: 11/10/20 最新の投稿
Hey guys,

i got the problem that i created a theme in my eclipse and when i try to change the layout in this theme to my custom layout it switches back to 70-30 layout.

is it possible that the 70-30 layout is condigured as the standard layout anywhere in the code?

thanks in advance

Lutz
thumbnail
12年前 に David H Nebinger によって更新されました。

RE: Theme standard layout?

Liferay Legend 投稿: 14916 参加年月日: 06/09/02 最新の投稿
I believe there is a standard defined in portal.properties that is used for all new pages, but I don't know if it applies when the current layout fails.
thumbnail
11年前 に Maarten van Heiningen によって更新されました。

RE: Theme standard layout?

Regular Member 投稿: 174 参加年月日: 09/02/05 最新の投稿
Hi,

As David is saying correctly:
David H Nebinger:
I believe there is a standard defined in portal.properties that is used for all new pages, but I don't know if it applies when the current layout fails.

Indeed it's only applied for newly created pages and not pages that are already created if you change this.

One other option is to use page templates and setting the theme & layout. If you then want to change it in the future you simply change the layout of your page template.

Maarten
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Theme standard layout?

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
The default is set as follows in portal.properties. Change this setting in portal-ext.properties. (note:2_columns_iii - is the 70/30 layout)
#
# Set the default layout template id.
#
default.layout.template.id=2_columns_iii

#
# Set the layout template id of the public layout.
#
default.guest.public.layout.template.id=2_columns_iii