Hello,
I am trying to incorporate the full disqus comment form into the teaser of a content type so my visitors can see all comments and add their own from my homepage: http://visualpause.com. The challenge is that my homepage displays teasers for 25 nodes, and it appears that disqus can only present the comments and form for one node at a time. I would like to give my users the ability to see comments for posts and leave a comment without having to click through to the node page. My plan is to add the full disqus form to the teaser, and have its visibility toggled with jquery. But that means displaying disqus for multiple nodes, and it doesn't appear as though disqus can do that?
This is something I can achieve with drupal core comments by checking "display node comments" in the "Row style" configuration of the view.
Is there a way to achieve a similar functionality with disqus?
Thanks,
Andy
Comments
Comment #1
halefxSubscribing
Comment #2
neelan CreditAttribution: neelan commentedSubscribing
Comment #3
Mujtaba Mir CreditAttribution: Mujtaba Mir commentedsubscribing
Comment #4
makeapage CreditAttribution: makeapage commentedsubscribing
Comment #5
Mujtaba Mir CreditAttribution: Mujtaba Mir commentedIncluding below javascript code code in your each node will help yoy display disqus comments on the same page.
DISQUS.reset({ reload: true, config: function () { this.page.identifier = "newidentifier"; this.page.url = "http://yoursite.com/node/"; } });above code is responsible for ajax calls actually.
include script tag before and after the above code
Comment #6
Open Social CreditAttribution: Open Social commentedNice, I will check this out.
Comment #8
infojunkieAlso need this on the D7 branch. Has anyone got this working in a reliable way?
Comment #9
MorganL CreditAttribution: MorganL commentedI'm looking for a way to display/add comment threads from multiple rendered nodes which are being output in one page using a view (with pagination). Disqus is using a div with a single ID for all nodes:
<div id="disqus_thread">
. IDs are supposed to be unique within a page, so this isn't just preventing the display of multiple comment threads within one page, it's also generating bad HTML.There are comment thread links being generated correctly within the
<noscript>
tags for each node, so the data needed to fix this should be there. Seems like either the ID values need to be serialized somehow, or a class should be used instead of an ID for the div.Comment #10
MorganL CreditAttribution: MorganL commented