Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Paul Minnaert
How to change theme on all personal pages
October 5, 2010 7:19 AM
Answer

Paul Minnaert

Rank: New Member

Posts: 4

Join Date: June 18, 2010

Recent Posts

We are deploying a 6.0.5 portal. A custom theme is made and deployed with a war file. All users default get the classic theme on their personal pages, we set our own theme as default in the portal controlpanel settings. How can I make all users get our theme as default? I even tried to change the value in the layoutset for themeid from classic to our new theme, that didn't help. A user can select the custom theme from their page control.



Regards Paul
Eric Touchard
RE: How to change theme on all personal pages
October 5, 2010 7:30 AM
Answer

Eric Touchard

Rank: New Member

Posts: 13

Join Date: August 19, 2010

Recent Posts

I have the same problem and after searching in source for "powered by liferay" i was able to spot that the Welcome page is using the classic theme.

I am not sure, but it might be stored in the database.
Hannu Alamäki
RE: How to change theme on all personal pages
October 20, 2010 4:53 AM
Answer

Hannu Alamäki

Rank: New Member

Posts: 7

Join Date: August 25, 2010

Recent Posts

I would like to know too. Somebody please answer this.

I just need to change all existing pages to the same theme, so that should be doable with a simple SQL update. Right?
Paul Minnaert
RE: How to change theme on all personal pages
October 20, 2010 7:27 AM
Answer

Paul Minnaert

Rank: New Member

Posts: 4

Join Date: June 18, 2010

Recent Posts

I did it with an sql update
Mickaël Manteau
RE: How to change theme on all personal pages
December 22, 2011 1:37 AM
Answer

Mickaël Manteau

Rank: New Member

Posts: 7

Join Date: December 6, 2011

Recent Posts

Can we have the sql statement please ?
Florence H
RE: How to change theme on all personal pages
December 16, 2013 12:18 AM
Answer

Florence H

Rank: Junior Member

Posts: 51

Join Date: November 3, 2009

Recent Posts

You should try this :
1update LayoutSet set themeId = ‘new-theme-id’ where themeId = ‘old-theme-id’;
2update Layout set themeId = ‘new-theme-id’ where themeId = ‘old-theme-id’;