OOB Comments Component Issue in AEM 6.1 | Community
Skip to main content
prajwal008
New Participant
March 24, 2016
Solved

OOB Comments Component Issue in AEM 6.1

  • March 24, 2016
  • 2 replies
  • 1208 views

I'm using the Comments Component present in the "libs/social/common/component/hbs/comments" in AEM 6.1. I copied it into my app/component folder and modified it.

When I'm logged in, it allow me to post comment in author & Publish both. When I try to access the page(containing component) without logged in, only previously added comments are shown and no input box is present to post the comments.

I want to achieve the thing, where user can post the comment as Anonymous user and there post is moderated and then publish on the website.

How can I post comment without logged in, as our website don't don't have log in feature?

Can we create a Guest user for all those user who wants to post the comment to that page. That guest user is by default logged in, when user open that page to post the comments. I'm not sure whether we can achieve this or not.

Or is there any other way in which I can do this?

Note - We are going to do Facebook and Google Integration in our second development phase.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by JK_Kendall

Using a “guest user” session that is always logged in and accepting “extra” parameters like “name” and “email” is the preferred way to do this.  In that way, you would be able to moderate the posts.

I don't know of an example specific to 6.1, though.

- JK

2 replies

kautuk_sahni
Employee
March 28, 2016

Hi

+1 to Janice Kendall

Thanks and Regards

Kautuk Sahni

Kautuk Sahni
JK_Kendall
JK_KendallAccepted solution
New Participant
March 25, 2016

Using a “guest user” session that is always logged in and accepting “extra” parameters like “name” and “email” is the preferred way to do this.  In that way, you would be able to moderate the posts.

I don't know of an example specific to 6.1, though.

- JK