Opened 14 years ago
Last modified 9 years ago
#712 closed enhancement
Adding Disqus Comments to the MapGuide Trac Instance — at Version 1
Reported by: | zspitzer | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | SysAdmin | Keywords: | trac |
Cc: |
Description (last modified by )
The MapGuide PSC would like to trial using Disqus comments for the mapguide wiki
It requires the following javascript to be added to the bottom of the template. The disqus_identifier parameter could be set to the wiki page url
Further information is available here http://docs.disqus.com/developers/universal/
<div id="disqus_thread"></div> <script type="text/javascript"> /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ var disqus_shortname = 'mapguide'; // required: replace example with your forum shortname // The following are highly recommended additional parameters. Remove the slashes in front to use. // var disqus_identifier = 'unique_dynamic_id_1234'; // var disqus_url = 'http://example.com/permalink-to-page.html'; /* * * 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>
Note:
See TracTickets
for help on using tickets.