Queequeg
- Posts: 1
- Topic Created: Sun Dec 18 08:15:04 2011 +0100
Hello! I love chyrp and I've been using it for a few years, but I'd really love to add Disqus comments. I have no idea where to paste the Disqus code though because I am pretty dumb when it comes to this stuff. Little help?
jack
hey,
i'll try to get a disqus block in the extend section by the end of the week. there is a comments block that you can use in the interim tho.
Queequeg
Oh, thanks so much! I've used the comments module for a long time but my site's outgrown it, and users are clamouring for comment threads and reply buttons and fancy things like that.
jack
- Posts: 59
- Created: Wed Dec 21 03:51:37 2011 +0100
- Updated: Wed Dec 21 03:52:32 2011 +0100
- Permalink: Disqus installation
very basic instructions for stardust: open up root/themes/stardust/content/post.twig and insert this below the closing div tag.
make sure to replace example with your shortname.
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'example'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>