Deactivating and activating custom modules for a particular site in Liferay 7.4 (Part 2)

Page 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.

Creatingaservicebuilder(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

Creatingatheme

To generate a theme, you can follow the steps given in link.

https://learn.liferay.com/dxp/latest/en/site-building/site-appearance/themes/themedevelopment/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.

Originally published by: Deactivating and activating custom modules for Liferay 7.4 (Part 2)

3.This will deactivate the module from the site.

Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.
Deactivating and activating custom modules for a particular site in Liferay 7.4 (Part 2) by INEXTURE Solutions - Issuu