PHP Frameworks: I want to break free (IPC Berlin 2024)
Deactivating and activating custom modules for a particular site in Liferay 7.4 (Part 2).pdf
1. Deactivating and activating custom modules for
a particular site in Liferay 7.4 (Part 2)
In previous part, we have created a panel module now we will create a service builder to
store the values given from the user and to pass it to theme. Then we will create a theme
to get this data and deactivate it from the site.
Creating a service builder (IntelliJ)
To store the state of the portlet on a particular side and to send this information in
theme we need a service builder.
To create a service builder this are the following steps:
1. Go to File -> New -> Module
2. Creating a theme
To generate a theme, you can follow the steps given in link.
https://learn.liferay.com/dxp/latest/en/site-building/site-appearance/themes/theme-
development/getting-started/setting-up-an-environment-and-creating-a-theme.html
Read More : Deactivating and Activating Liferay Objects part 1
After this you would be able to disable a portlet on a particular site. To disable:
1.Go to the ModuleBlackListConfiguration tab
3. 2.Then go to action and uncheck the active status.
3.This will deactivate the module from the site.
Originally published by: Deactivating and activating custom modules for Liferay 7.4
(Part 2)