Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-96867

Have the option to disable Liferay DXP messages based on user

    Details

      Description

      Description
      For example, after submitting forms or creating content in Liferay DXP, green success messages appear by design. Having more control over these pop-up confirmations would improve the end-user experience.

      Current Behavior
      Said confirmation messages are expected OOTB functionality. We can more or less disable them by using the following method if changed to false:

      messages enabled
      javax.portlet.init-param.add-process-action-success-action=true

      message disabled
      javax.portlet.init-param.add-process-action-success-action=false

      Resources:
      https://github.com/liferay/liferay-portal/blob/master/modules/apps/login/login-web/src/main/java/com/liferay/login/web/internal/portlet/LoginPortlet.java#L44

      Note: we may find that the property does not exist in some of the portlets like blogs admin: https://github.com/liferay/liferay-portal/blob/master/modules/apps/blogs/blogs-web/src/main/java/com/liferay/blogs/web/internal/portlet/BlogsAdminPortlet.java#L37-L58

      Desired Functionality
      Rather than the abovementioned blanket approach; if these messages could be configured by need, it would create a better experience for end-users and admin alike.

      1. keep the messages active for backend tasks > creating a new user, changing a PW etc.
      2. have all messages disabled for the end-users of a site(s) > maintains the overall UXP as designed by the client.

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              philip.chapman Philip Chapman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package