Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Jerry Smith
Upgrade - Change existing private site theme
March 26, 2013 9:43 AM
Answer

Jerry Smith

Rank: New Member

Posts: 6

Join Date: October 10, 2012

Recent Posts

Hi,

I'm working on an upgrade project and in the course of upgrading, we are refreshing our theme.

What is the proper way to change all users' existing public/private site theme to the global standard?

Thanks,

Jerry Smith
Alberto Chaparro
RE: Upgrade - Change existing private site theme
March 27, 2013 6:02 AM
Answer

Alberto Chaparro

LIFERAY STAFF

Rank: Regular Member

Posts: 133

Join Date: April 25, 2011

Recent Posts

Hi Jerry,

There are several proper ways to do this:
  • Do it manually using the Liferay UI
  • Create a portlet to execute this process
  • Create a program which uses the liferay services
  • Run an script from the control panel/server administration/script

If you are going to create a portlet, program or script, please take a look at the method com.liferay.portal.service.LayoutSetLocalServiceUtil.updateLookAndFeel() and the database table "layoutSet" in order to do it properly.

Remember to backup your database before doing these changes and verifying them.

I hope this helps you.
Luis Silva
RE: Upgrade - Change existing private site theme
July 21, 2014 10:19 AM
Answer

Luis Silva

Rank: Junior Member

Posts: 42

Join Date: April 18, 2013

Recent Posts

Hi,
I'm having a similar situation, not only I need to change the theme but also change the applications that the user has on the private page.
I'm using Liferay 6.2, can I use Alberto suggestions? And my problem is also how...
Can you give some help?

Regards,
Luis Silva