Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: Use multiple commentable items on a single page #685

Open
kyeno opened this issue Jun 1, 2019 · 1 comment
Open

Q: Use multiple commentable items on a single page #685

kyeno opened this issue Jun 1, 2019 · 1 comment

Comments

@kyeno
Copy link

kyeno commented Jun 1, 2019

Hey, I'm wondering if this is possible with this bundle without really hacking around it.
I tried just rendering multiple entities and including the async.html.twig under each of them with specified ID, but this approach seems to work only for the first item on the page; others don't get the comment thread nor form.
Is this something supported by FOSCommentBundle, or should I write my own JavaScripts for it?

@kyeno
Copy link
Author

kyeno commented Jun 5, 2019

Hm, after analyzing the original JavaScript it seems quite impossible. I ended up modifying and redoing some parts of the JavaScript to actually make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant