Legacy Knowledge Base
Published Jun. 30, 2025

How to add a comment in Page Comments widget as Guest?

Written By

Sebastian Madaras

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • How to add a comment in Page Comments widget as Guest?

Environment

  • Liferay DXP 7.4

Resolution

0.) Use a vanilla Liferay 7.4 with the latest quarterly release.
1.) Go to Design --> Page Templates --> Display Page Templates.
2.) Create a display-page-template with content type "Web Content Article" --> "Basic Web Content".
3.) Set the new display-page-template as default.
4.) Create a new article based on the ""Basic Web Content".
5.) After the article is created from the actions click "View Content".
6.) Edit the new display-page-template.
7.) Add a web content display, in it display the article. Add under the web content display a Page Comments widget and publish the display-page-template.
8.) Save the URL of the display-page-template and access it from incognito.
9.) Try to add content in the Page Comments and click "Reply as...".

Outcome: The Sign In portlet appears, allowing you to leave a comment as a Guest by selecting "Guest" and completing the required fields (First Name, Last Name, Email Address, Text Verification). Following these steps should enable you to leave a comment as a Guest.

 

Additional Information

 

Did this article resolve your issue ?

Legacy Knowledge Base