Widget:DISQUS

From CSDMS
Revision as of 08:32, 23 July 2018 by WikiSysop (talk | contribs) (Created page with "{{#widget:DISQUS |id=yourid |uniqid={{PAGENAME}} |url={{fullurl:{{PAGENAME}}}} }}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This widget allows you to add [http://www.disqus.com/ DISQUS Comments] to your wiki page. To insert this widget, use the following code: {{#widget:{{PAGENAME}} |id=[http://disqus.com/admin/register/ yourid] |uniqid={{PAGENAME}} |url={{fullurl:{{PAGENAME}}}} }} You might want to create a template with this code called DISQUS and let people just use it like {{DISQUS}}. == Parameters == * '''id''' - short site id you used when [http://disqus.com/admin/register/ registered a site in DISQUS] * '''uniqid''' - optional unique ID for the page - you can set it to {{PAGENAME}} for wikis (to make it work on edit pages, and other URLs for the same page. * '''url''' - optional URL for permalinking '''Note:''' Currently DISQUS has issues with styles where MW CSS overrides theirs and bullets show up all over the place, the only solution at the moment is to [http://docs.disqus.com/help/44/ switch to use their Narcissus theme].