Active
Project:
Disqus
Version:
2.0.1-alpha4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2018 at 13:53 UTC
Updated:
24 Jan 2022 at 08:05 UTC
Jump to comment: Most recent
Hi,
I bought a drupal 8 theme, i tried since 2 days to display disqus comments without succes. I followed the intruction and it works with the defaults drupal themes! I tried this kind of code "content.field_disqus_comments" in my twig files. actually i can display only 2 things.
the label name and the twig file of the module
removed.
Edit: the problem come with jquery-mini.js !
Comments
Comment #2
Florent D. commentedI found why the Disqus comments are not visible. Each time that i load Jquery mini, disqus disapear!
theme.libaries.yml
Comment #3
Florent D. commentedComment #4
Florent D. commentedComment #5
Florent D. commentedComment #6
Florent D. commentedDisqus comments are hidden when you load jquery in mytheme.libaries.yml.
Comment #7
Florent D. commentedok, i don't know if it's a correct "TEMPORARY" solution but i loaded the embed.js from disqus as an external js directly in the librarie.yml and the comments are NOW visible.
https://www.drupal.org/docs/8/creating-custom-modules/adding-stylesheets...
Comment #8
Florent D. commenteddon't work with bigpipe core actived too!!! even with my first solution.
Comment #9
gaurav.kapoor commentedComment #10
gaurav.kapoor commentedComment #11
gaurav.kapoor commented