Uploaded on Mar 27, 2023
In previous blog we created a panel module. Now let's deactivate the module by creating service builder and theme.
Deactivating and activating custom modules for a particular site in Liferay 7.4 (Part 2)
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 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 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)
Comments