How to show Disqus in blog details ONLY (Dnn Blog)

Oct 15, 2011 at 1:58 PM
Edited Oct 15, 2011 at 2:00 PM

Hi Will, 

I want to integrate your module with Dnn Blog in my site. So here's what I did: I added DnnDisqus on the same page as the main blog and I attached it to View_Blog. It works fine but it is displaying the Disqus Comments when the blog list is displayed and  I want the Disqus Comments to show ONLY when I open a blog entry to see the blog details. If you look at the page below you'll see what I mean.

The Disqus Comments are showing here (which I don't want)

The Disqus Comments are showing here too (which I DO want)


Oct 16, 2011 at 9:10 AM

This is intended behavior with the current versions of this module.  I am not opposed to changing this in a newer version though.  Can you give me some more details on why you prefer this behavior in your specific use case?

Oct 16, 2011 at 3:18 PM

Let me show you what I mean using your site an an example. I would not want the Disqus Comments to show at the bottom of the following page where you display a list of all blog entries with a small summary. However, if a user open a specific blog entry like it would make sense to display the Disqus Comments so he/she can comment on this particular blog post. 

The following site has the exact same behavior as the one I want (even though it is not a DNN site)

If you look at Jon's site, the main page where he displays a list of blog entries with small summaries does not show the Disquss Comments unless you open a specific blog entry where you can add your comments.

Does that make sense?

Oct 19, 2011 at 1:29 PM


Maybe my similar integration can help you.

I just installed the module on a test site, using Ventrian NewsArticles module.
In my main articles list template, I put the following lines: 

$(document).ready(function() {

Disqus block is now invisible on my articles (blog entries) list.
On DNN blog, I thing you can do a similar thing editing the good ascx file.

Oct 20, 2011 at 8:45 PM

6ril, you're the man...

I tested it using both News Articles and Dnn Blog and it works great on both. On the Blob module I added your suggestion to ViewBlog.ascx

Thank you very much...

Oct 29, 2011 at 9:04 AM

glad to have been of help!

Dec 28, 2011 at 1:52 AM

Thanks for the cool workaround, 6ril!