AEM OOTB Forum Component | Community
Skip to main content
Alberto_León
Level 2
April 28, 2016
Solved

AEM OOTB Forum Component

  • April 28, 2016
  • 7 replies
  • 2545 views

Hi,

I'm trying to use the Forum and Blog AEM OOTB components in my own page but they do not work, they do not generate posts or replies, seems to be broken. What should be done to fix this?

Thanks,

Alberto L.

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

Hi Alberto,

1) Please be specific about what version you're using.

2) You're likely using AEM 6.1, but not using the communities creation wizard.

3) If using Communities components on an AEM site not created with the wizard, you need to read about client libraries for Communities components.

The client libraries provide HBS scripts and CSS styles which affect the functionality and appearance of the components.  If using the creation wizard, this is all setup for you.

4) If you're using the default SRP, which is JSRP, then the posts (UGC) will only be visible on the server on which it was entered.  JSRP is not a common store in AEM 6.1.

If you're in developer mode, and want to experience the common UGC store, follow the instructions for basic setup of MongoDB (MSRP).

- JK

7 replies

JK_Kendall
JK_KendallAccepted solution
Level 9
April 28, 2016

Hi Alberto,

1) Please be specific about what version you're using.

2) You're likely using AEM 6.1, but not using the communities creation wizard.

3) If using Communities components on an AEM site not created with the wizard, you need to read about client libraries for Communities components.

The client libraries provide HBS scripts and CSS styles which affect the functionality and appearance of the components.  If using the creation wizard, this is all setup for you.

4) If you're using the default SRP, which is JSRP, then the posts (UGC) will only be visible on the server on which it was entered.  JSRP is not a common store in AEM 6.1.

If you're in developer mode, and want to experience the common UGC store, follow the instructions for basic setup of MongoDB (MSRP).

- JK

JK_Kendall
Level 9
April 28, 2016

See also Getting Started with AEM Communities for a quick, simple tutorial on quickly standing up a community site.

- JK

Alberto_León
Level 2
May 3, 2016

JK Kendall wrote...

Hi Alberto,

1) Please be specific about what version you're using.

2) You're likely using AEM 6.1, but not using the communities creation wizard.

3) If using Communities components on an AEM site not created with the wizard, you need to read about client libraries for Communities components.

The client libraries provide HBS scripts and CSS styles which affect the functionality and appearance of the components.  If using the creation wizard, this is all setup for you.

4) If you're using the default SRP, which is JSRP, then the posts (UGC) will only be visible on the server on which it was entered.  JSRP is not a common store in AEM 6.1.

If you're in developer mode, and want to experience the common UGC store, follow the instructions for basic setup of MongoDB (MSRP).

- JK

 

Thanks for your help. Sure, I am using Communities Components on AEM 6.1: Added the required clientlibs and it works.

now, I am having some troubles with the login. I get to post and reply if I am logged in CRXDE but I can not log as User in the login of my page, looks like forum component can not access that info. What should I do? Thanks again.

JK_Kendall
Level 9
May 3, 2016

Hi Alberto,

I assume

1) you've not configured storage and are letting it default to JSRP

2) you have your own login implementation

3) you're trying this in the author environment

Or have you published your site and you're trying to sign in and post/reply in the publish environment?

Remember, with JSRP, if you post on author, you will only see it on author - and if you post on publish you will only see it on publish.

Something else to try is using the forum component in the community components guide (which is a site not generated using the wizard).

Browse to either

  http://localhost:4502/content/community-components/en/forum.html

  http://localhost:4503/content/community-components/en/forum.html

The documentation is at

  https://docs.adobe.com/docs/en/aem/6-1/develop/communities/components-guide.html

Let me know.

- JK

JK_Kendall
Level 9
May 3, 2016

One other question, which verison of Communities do you have?  FP3?

See Deploying Communities : Version 1.8 Feature Pack

- JK

Alberto_León
Level 2
May 4, 2016

JK Kendall wrote...

Hi Alberto,

I assume

1) you've not configured storage and are letting it default to JSRP

2) you have your own login implementation

3) you're trying this in the author environment

Or have you published your site and you're trying to sign in and post/reply in the publish environment?

Remember, with JSRP, if you post on author, you will only see it on author - and if you post on publish you will only see it on publish.

Something else to try is using the forum component in the community components guide (which is a site not generated using the wizard).

Browse to either

  http://localhost:4502/content/community-components/en/forum.html

  http://localhost:4503/content/community-components/en/forum.html

The documentation is at

  https://docs.adobe.com/docs/en/aem/6-1/develop/communities/components-guide.html

Let me know.

- JK

 

 

Thanks again for your answer. You are right 1) 2) 3), and I have the page published too, but I am having troubles posting topics or replies (I am trying at the published site insomuch as I am using JSRP). I am using the default version of the AEM 6.1 Communities (build 20150521).

Once logged in the community, I am not able to see the Post Topic or Reply buttons. If I access the published CRXDE we can see I am an anonymous user. Is that correct?

Then, I have tried to log in with a demo user in the CRXDE and it works as you can see:

The question is: CRXDE should be logged in when I log in the community? What could I do to "link" the community with the login?

Lot of thanks,

Alberto L.

Alberto_León
Level 2
May 4, 2016

JK Kendall wrote...

Hi Alberto,

I assume

1) you've not configured storage and are letting it default to JSRP

2) you have your own login implementation

3) you're trying this in the author environment

Or have you published your site and you're trying to sign in and post/reply in the publish environment?

Remember, with JSRP, if you post on author, you will only see it on author - and if you post on publish you will only see it on publish.

Something else to try is using the forum component in the community components guide (which is a site not generated using the wizard).

Browse to either

  http://localhost:4502/content/community-components/en/forum.html

  http://localhost:4503/content/community-components/en/forum.html

The documentation is at

  https://docs.adobe.com/docs/en/aem/6-1/develop/communities/components-guide.html

Let me know.

- JK

 

 

Thanks again for your answer. You are right 1) 2) 3), and I have the page published too, but I am having troubles posting topics or replies (I am trying at the published site insomuch as I am using JSRP). I am using the default version of the AEM 6.1 Communities (build 20150521).

Once logged in the community, I am not able to see the Post Topic or Reply buttons. If I access the published CRXDE we can see I am an anonymous user. Is that correct?

Then, I have tried to log in with a demo user in the CRXDE and it works as you can see:

The question is: CRXDE should be logged in when I log in the community? What could I do to "link" the community with the login?

Lot of thanks,

Alberto L.