Add DISQUS to your Graffiti Blog

For all the Graffiti CMS users, one of our community members Scott Watermasysk has written a small guide on how to integrate DISQUS. 

There are just a couple steps for standard Graffiti themes:

  1. Sign up for a new account on Disqus and create a new website. Click the link for “generic code”. (also located here)
  2. In your Graffiti control panel, navigate to your “Personalize” page (Graffiti-Admin > Presentation > Themes > YOUR_THEME).
  3. In your post.view file, remove the existing comment rendering code and replace it with the JavaScript from step one from the generic code page above.
  4. In your index.view file, find the $macros function for building a comment link and change the fragment from “comment” to “disqus_thread”.
  5. In your layout.view file add the JavaScript from step three in the generic code page.

With this information, in step three from above instead of removing the comment list and form from my post.view, I wrapped it in an if statement like this:

#if($post.Id > 143)

[Your Existing Comment Code]

#else

[Your Diqus Code]

#end

For full instructions visit  simpable.com/code/disqus/

 

Thanks Scott!

 

Giannii
DISQUS
Community Manager

View Comments

Giannii on December 13th 2008 in disqus

  • I am so excited to find this post. This is what I need. Bookmarked this url. Thank you very much.
  • After sourcing for detailed information on the installation of generic codes, we finally solve it. Hopefully disqus can assist us in the abuse of our blog. :)
  • wallace530
    great post sir..
    thanks for sharing. really helped a lot here.
    --------------------------------------------------
    Ugg Boots | Uggs
  • blackdarks
    sen ne yazarsan yaz o bilir saten.
  • blackdarks
    sen ne yazarsan yaz o bilir saten.
  • blackdarks
    sen ne yazarsan yaz o bilir saten.
  • Wow great, follow your tips now.
    Thanks.
  • Wow great, follow your tips now.
    Thanks.
  • reklam
  • Thanks for the full instructions, I believe I am able to do it without much help! It's unbelievable that there are so many helpful souls that are willing to create guides for our benefits.Will contribute if I am able to do something!
  • ryanlow
    Haven't heard about Grafitti blogs before.However, after getting a brief understanding of what's good about grafitti, i feel like giving a try! And now with the support of Disqus, It will definitely make the perfect pair!Will share with you all when I have got my grafitti blog start up!
  • Thanks for the full instructions, I believe I am able to do it without much help! It's unbelievable that there are so many helpful souls that are willing to create guides for our benefits.Will contribute if I am able to do something!
  • jonaw
    It looks easy to install.Does this applies to other blogs as well?I wonder if we are able to change the colours or the designs of the comment shown on our page.
  • Annie
    Thanks for the full instructions, I believe I am able to do it without much help! It's unbelievable that there are so many helpful souls that are willing to create guides for our benefits.Will contribute if I am able to do something!
  • ryanlow
    Haven't heard about Grafitti blogs before.However, after getting a brief understanding of what's good about grafitti, i feel like giving a try! And now with the support of Disqus, It will definitely make the perfect pair!Will share with you all when I have got my grafitti blog start up!
  • Ryan Low
    Haven't heard about Grafitti blogs before.However, after getting a brief understanding of what's good about grafitti, i feel like giving a try! And now with the support of Disqus, It will definitely make the perfect pair!Will share with you all when I have got my grafitti blog start up!
  • Ryan Low
    Haven't heard about Grafitti blogs before.However, after getting a brief understanding of what's good about grafitti, i feel like giving a try! And now with the support of Disqus, It will definitely make the perfect pair!Will share with you all when I have got my grafitti blog start up!
  • jonaw
    It looks easy to install.Does this applies to other blogs as well?I wonder if we are able to change the colours or the designs of the comment shown on our page.
  • jonaw
    It looks easy to install.Does this applies to other blogs as well?I wonder if we are able to change the colours or the designs of the comment shown on our page.
  • jonaw
    It looks easy to install.Does this applies to other blogs as well?I wonder if we are able to change the colours or the designs of the comment shown on our page.
  • I'll try to use it at my Blog!
  • I'll try to use it at my Blog!
  • Yes, very cool
  • ezditto
    Thanks for the link for full instructions. I'm always having problems when installing things.
  • Duple Ang
    simple and easy.Thanks!
  • Jasmine Lim
    It seems pretty easy to get it integrated.Will try it out soon!
  • Duple Ang
    simple and easy.Thanks!
  • Jasmine Lim
    It seems pretty to get it integrated.Will try it out soon!
  • replicaloh
    Great to have guides!It makes our lives easier.
  • Helen Atwood
    your blog is awsome
  • Thanks for the instruction. See if I can get it installed on my graffitti blog.
  • Great, thanks for the instruction which is easy to follow.
  • That's another great partnership. Thank for the instruction which is easy to execute.
  • Elsie M Aiken
    Excellent, entertaining, useful reading, Thanks !!
  • Thanks very useful.
  • zoo
    Great stuff.Thanx
  • zoo
    Great stuff.Thanx
  • zoo
    Great stuff.Thanx
  • Excellent how to.. Thanks Giannii
  • Nice! Thanks for the how to.
  • Excellent how to.. Thanks Giannii
  • Nice! Thanks for the how to.
  • Nice! Thanks for the how to.
  • Great tips laid out. Definitely a feature I will be trying out in the future.
  • Great tips laid out. Definitely a feature I will be trying out in the future.
  • Great tips laid out. Definitely a feature I will be trying out in the future.
  • Graffiti CMS is awesome. It is great for managing your contents and the best part is that it has built-in SEO.
  • I have used Graffiti CMS for one of my sites...this may be a useful addition to get more comments. Cheers.
  • I have used Graffiti CMS for one of my sites...this may be a useful addition to get more comments. Cheers.
  • Very easy to get it with this information's
    Thanks for keeping this great blog Directory
  • Just testing out this comment system. Do I like it? Find out for yourself! Check out www.knowmyrights.org in a couple days, view an article, and see if this is the comment system I'm using!!!
  • Very easy to get it with this information's
    Thanks for keeping this great blog Directory
  • Cool.....a few steps but a great leap forward.
  • thakyuououo .:D
    Sohbet Et
  • Thnks for the detailed guide.
    I was looking in some blogs and i saw this nice feature. Now i know that is not hard t integrate it..

    Thanks
  • Thnks for the detailed guide.
    I was looking in some blogs and i saw this nice feature. Now i know that is not hard t integrate it..

    Thanks
  • Even no brainer can follow the simple instruction - short and sweet.
  • Even no brainer can follow the simple instruction - short and sweet.
  • Very nice feature. It brings something new to my blog. For sure i will try this when i have some spare time. It doesn't seems hard at all to put it on the blog, and with the explanations you gave i'm sure almost everybody can handle it's instalation.

    Thanks
  • Thanks for step by step instructions. Will consider placing it on our site/blog.
  • Thanks for step by step instructions. Will consider placing it on our site/blog.
  • That is pretty simple with only 3 steps. Disqus is indeed flexible in many different platforms.
  • That is pretty simple with only 3 steps. Disqus is indeed flexible in many different platforms.
  • Scott :-
    Thanks for making it easy to understend!
    I will Try at my Social networking website blog!
  • Scott :-
    Thanks for making it easy to understend!
    I will Try at my Social networking website blog!
  • Scott :-
    Thanks for making it easy to understend!
    I will Try at my Social networking website blog!
  • Thats cool ! Thanks for the steps . They are definitely great help to me . I need it a lot ! Thanks for sharing !
  • Just testing out this comment system. Do I like it? Find out for yourself! Check out www.knowmyrights.org in a couple days, view an article, and see if this is the comment system I'm using!!!
  • Thats cool ! Thanks for the steps . They are definitely great help to me . I need it a lot ! Thanks for sharing !
  • Thats cool ! Thanks for the steps . They are definitely great help to me . I need it a lot ! Thanks for sharing !
  • Very nice feature. I will use it on my blog.
  • Very nice feature. I will use it on my blog.
  • Very nice feature. I will use it on my blog.
  • http://www.europehandbag.com/prada/prada-handba...



    or a very limited time,www.europehandbag.com is offering an unbelievable 40% off Michael Kors Fall selection of womens handbags and accessories. This is a once in a lifetime opporuntity to save on the famous designers fall colection. This is a perfect chance to do some early holiday shopping, gift giving, or just treating yourself to designer handbag at a unheard of price.
blog comments powered by Disqus