Theme Switcher

Theme Switcher
Download on the GitHub
Download on the MarketPlace


Liferay Themes Switcher portlet is developed by Aimprosoft company and intended to provide the possibility for users to apply their own themes and color schemes for sites/organization they want.

Problem: OOTB Liferay provides the possibility to apply themes/color schemes only for administrators. And once they apply those settings all users will be able to see the same view, and there is no way for them to customize “look and feel”.

Solution: Using a Liferay Themes Switcher portlet users can customize the representation of Liferay pages according to their needs.

Liferay Themes Switcher portlet has two modes:

VIEW MODE is available for all users (including guests). It allows users to choose and apply any theme and color scheme for the current site. A list of themes and color schemes displayed for the user is filtered according to the permissions he has, and those permissions are defined by the administrator. When the user chooses theme/color scheme for a site those settings are saved to a custom table in the database, so they are persistent. In the case of a Guest user, settings are saved to a session scope and live during session time.

EDIT MODE (preferences) is available for administrators only. Administrators can define permissions on themes and color schemes for Liferay roles. Once they define a ‘VIEW’ permission on the theme for some role users with this role will see this theme in the list and will be able to apply it. Administrators can also reset a theme configuration to the default one (in this case all settings will be cleared from database and session).