Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi
On my page I'm loading content using the module "Ajax Links API", and everything was fine until I added the Disqus module .... Disqus comments only loaded the first time, then there must be an error in a script and do not charge javascript comments.
A greeting and thank you very much
Comments
Comment #1
apotashov CreditAttribution: apotashov commentedHi.
This is an actual problem for ajax after first time load.
I`m fix it problem by removing condition $('body').once('disqus', function() { from disqus.js file.
Maybe it's not the right solution, but it works for AJAX.
Comment #2
jatorresdev CreditAttribution: jatorresdev commentedComment #3
stefanotabarelli CreditAttribution: stefanotabarelli commentedHi.
I am having the same problem using Ajax in my view. I have fixed the problem with the Load More paginator using the trick explained in the comment above but I still have the same problem using exposed filters on the same view. They are also using Ajax to reload the items in the page and the comment number doesn't get updated.
What I have noticed is that using the filters the disqus.js file gets called 2 times and maybe this is why the fix above does not work in this case.
Any help will be really appreciated. Thank you very much