Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
lutz Bremen
Theme standard layout?
20 aprile 2012 2.58
Risposta

lutz Bremen

Punteggio: Expert

Messaggi: 291

Data di Iscrizione: 20 ottobre 2011

Messaggi recenti

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
David H Nebinger
RE: Theme standard layout?
20 aprile 2012 5.14
Risposta

David H Nebinger

Community Moderator

Punteggio: Liferay Legend

Messaggi: 8431

Data di Iscrizione: 1 settembre 2006

Messaggi recenti

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.
Hitoshi Ozawa
RE: Theme standard layout?
28 aprile 2012 8.03
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7952

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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
Maarten van Heiningen
RE: Theme standard layout?
28 aprile 2012 7.24
Risposta

Maarten van Heiningen

Punteggio: Regular Member

Messaggi: 172

Data di Iscrizione: 5 febbraio 2009

Messaggi recenti

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