Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Gaurav kalia
How to set default layout for a website?
November 22, 2012 6:48 AM
Answer

Gaurav kalia

Rank: New Member

Posts: 14

Join Date: August 13, 2012

Recent Posts

Hi Everyone

Can some please let me know how to set default layout for a website.

I have a requirement that when every a new page gets created then it should pick up the default layout for a particular website.

I am have developed the theme for a website if that can help in any way.

Regards
Gaurav
Hitoshi Ozawa
RE: How to set default layout for a website?
November 24, 2012 5:12 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Try setting the following property in portal-ext.properties
#
# Set the default layout template id.
#
default.layout.template.id=2_columns_ii
Gaurav kalia
RE: How to set default layout for a website?
November 27, 2012 5:32 AM
Answer

Gaurav kalia

Rank: New Member

Posts: 14

Join Date: August 13, 2012

Recent Posts

Hi Hitoshi

Thanks for the reply.

But I have more then 1 website and I want to set a different default layout for each of them.

Please let me know how can i do it.

Thanks
Gaurav