You could always go with the generic JS : register, go to admin > tools and generate the js for your website, you’ll get something like this :
<script type="text/javascript" src="http://disqus.com/forums/yoursite/combination_widget.js?num_items=5&color=blue&default_tab=people"></script>
That’s all there is to it...
For developpers willing to look into further integration :
http://www.disqus.com/docs/api/
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
Hi David
Since posting, I had tried the above but it takes the visitor to page at disqus to see the comment thread.
Other sites have the disqus elements embedded in the original page. I am trying to gain that effect.
Thanks
L:
There is a way... did it for a website but un-did that and don’t remember how I did it
I’ll see if I can find the code I used...
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
oooooooh please, please, please ;-)
L
Well, I forgot about the second code snippet required to implement disqus, which you need to place before the closing body tag (</body>) in your template :
<script type="text/javascript">
//<![CDATA[
(function() {
var links = document.getElementsByTagName('a');
var query = '?';
for(var i = 0; i < links.length; i++) {
if(links[i].href.indexOf('#disqus_thread') >= 0) {
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
}
}
document.write('<script type="text/javascript" src="http://disqus.com/forums/your-site/get_num_replies.js' + query + '"></' + 'script>');
})();
//]]>
</script>
Of course it implies you created an account @disqus !
This is explained @
http://disqus.com/integrate/your-site/generic/
To link to the comments your need to add the [tt]#disqus_thread[/tt] anchor to the comment link
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
ah - OK. I will have a look at this again. I thought I had done all this last night.... Start from square one maybe.
I really appreciate the help, David.