Search Results

Knowledge Base 1399
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Avoid storing cookies generated by Google Analytics
Issue When Google Analytics is enabled in Liferay cookies like _gid and _ga are stored in browser session. How can we avoid storing these cookies? Environment Liferay DXP (any version) Resolution In 2024.Q1,...
Adding passive listeners to jQuery
Issue When running audit with Google Pagespeed is common to find a recommendation about implementing passive listeners for jQuery. How can we do this? Environment Liferay DXP (any version) Resolution Since jQuery...
How to disable commerce components in a bundle?
Issue How to disable commerce modules in Liferay DXP 7.4? Environment Liferay DXP 7.3 Liferay DXP 7.4 (below U48) Commerce 3.0 Commerce 4.0 Resolution Commerce modules are enabled by default from Liferay DXP 7.3...
Groovy Script Method to Delete Users in Bulk
Issue I need to delete many users at once from a Liferay instance in a programmatic and efficient way without directly modifying the database (which is not advised). Environment DXP 7.1 Resolution Below is a template...
How can I disable document versioning?
Issue I'd like to disable document versioning (so that every document has only one version) Environment 7.2+ Resolution You cannot disable versioning altogether, per se, but you can reach an equivalent result by limiting...
How to Update Webserver Credentials
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue I would like to change my webserver login credentials....
Unrelated word matches in searches
Issue In some rare occasions, when searching there can be unexpected results matched by title that are not related to the searched terms. An example would be: Search term: laces. Results: laces, laced, but also...
How to protect the portal against Bootstrap: CVE-2019-8331 vulnerability
Issue Liferay 7.0 uses a Bootstrap versión that has this vulnerability: CVE-2019-8331 - XSS is possible in the tooltip or popover data-template attribute. Bootstrap issue 20184 - XSS in data-target attribute....
How to create a Liferay custom docker image
Issue How to create a Liferay custom docker image using any base image? Environment Liferay DXP 7.0, 7.1, 7.2, 7.3, 7.4 Elasticsearch Resolution To create a custom docker image, a Dockerfile should be...
Journal Article Structure Field Name is not the same in the UI and the database
Issue When trying to get a journalField value via java, the field name is not the same as the one shown in the UI. Example in prior versions, where the field name in both the UI and the database would be the...
How can I configure a grid with 3 modules but displaying 2 modules per row in tablet mode?
Issue We have created a content page that contains a grid with 3 modules and it displays 3 modules per row in desktop mode. We need to only display 2 modules per row in tablet mode but Liferay doesn't allow configuring 2...
How to Export a Single Form as a LAR File
Issue How can I export a single form in LAR format? Environment DXP 7.3   DXP 7.4 Resolution During the export process, there are options that allow for the inclusion/exclusion of data. In this example, we'll use...
Localize download URL in image fragment in 7.2.x writing a custom fragment
Issue It is not possible to translate the link of a fragment image in order to download different documents for each language hosted in the Document Library. Environment Liferay DXP 7.2 and 7.3 Resolution Following...
You can't create child pages of a page from a site template with propagation enabled
Issue When creating a site from a site template with propagation enabled, this does not allow adding child pages to pages that were already created from the template. Environment DXP 7.0 or higher Resolution This...
Backup in non-production environment
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue How to configure backup in a non-production...
Are there Blade templates available for custom Web Content structure fields?
Issue Is it possible to use a Blade template to create a personalized Field for a Web Content structure? Environment Liferay DXP 7.0, 7.1, 7.2, 7.3, 7.4 Resolution For Liferay DXP 7.3 and lower versions, there is...
Re-importing contributed fragment collections cause missing default resources
Issue If a fragment on a page has a static resource (an image for example), it will disappear when the fragment collection is imported again. Environment DXP 7.3 DXP 7.4 Resolution This is the expected behavior because...
How to install Developer Studio using command line
Issue How to install Developer Studio using command line Environment Liferay Developer Studio Resolution Download the installer. Install Developer Studio using the following command...
How Can I Reset My Liferay PaaS Environment to its Original State?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Every so often, a situation may arise during development or...
How to remove users from Liferay that are deactivated / deleted in the LDAP server
Issue When a user is no longer listed in the LDAP server, the authentication fails and the user cannot log in anymore, but a dead user entry remains in Control Panel -> Users. Environment Liferay DXP 7.0+...