Expand my Community achievements bar.

SOLVED

Automatically load nested comments, when "deeplinking" to a comment

Avatar

Level 1

Hello together,

we are using AEM 6.1 with the Social Components Framework (SCF).
The following problem is occurring:

We are using the Comments component and allow replies to comments. This results in nested comments which need to be loaded via AJAX via the "load more" button.
But we also implemented sharing, and want to link to the anchor of the comment. However, this is not possible, since not all comments are loaded, when the page loads (just topLevel comments).

Is there either

  • a way to force SCF to load all comments?
  • or a way to deeplink to a comment and just load this one?

We don't want to send an AJAX request for each reply of a comment, as the HandleBars loadmore feature does.

Thanks in advance, maybe we are missing something really obvious.

Cheers,

Tim

1 Accepted Solution

Avatar

Correct answer by
Level 9
3 Replies

Avatar

Correct answer by
Level 9

Hi Tim,

To implement sharing, it is worth exploring the use of Community Groups [3].  To do so, when you create your website using the Community Sites console [0], choose a Site Template [1] which includes the Groups Function [2].

- JK

[0] http://docs.adobe.com/docs/en/aem/6-1/administer/communities/consoles/sites.html

[1] http://docs.adobe.com/docs/en/aem/6-1/administer/communities/consoles/administration/sites.html

[2] http://docs.adobe.com/docs/en/aem/6-1/administer/communities/consoles/administration/functions.html#...

[3] http://docs.adobe.com/docs/en/aem/6-1/administer/communities/overview.html#Community%20Groups

- JK

Avatar

Level 10

I passed this question to the AEM Communities team. 

Avatar

Level 1

Hi timbru!
Could you please provide some information on how you fixed your issue? I am currently having the same problem, that you described here. How did you make it load the replies initially?