Difference between revisions of "Widget:DISQUS"
Jump to navigation
Jump to search
m |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>__NOTOC__ | <noinclude>__NOTOC__ | ||
− | This widget allows you to | + | This widget allows you to override default DISQUS settings |
− | + | </noinclude><includeonly><script type="text/javascript"> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </noinclude><includeonly> | ||
− | <script type="text/javascript"> | ||
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ | /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ | ||
var disqus_shortname = '<!--{$id|escape:'urlpathinfo '}-->'; // required: replace example with your forum shortname | var disqus_shortname = '<!--{$id|escape:'urlpathinfo '}-->'; // required: replace example with your forum shortname | ||
<!--{if (isset($uniqid))}-->var disqus_identifier = '<!--{$uniqid|escape:'quotes'}-->';<!--{/if}--> | <!--{if (isset($uniqid))}-->var disqus_identifier = '<!--{$uniqid|escape:'quotes'}-->';<!--{/if}--> | ||
<!--{if (isset($url))}-->var disqus_url = '<!--{$url|escape:'quotes'}-->';<!--{/if}--> | <!--{if (isset($url))}-->var disqus_url = '<!--{$url|escape:'quotes'}-->';<!--{/if}--> | ||
− | + | </script></includeonly> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </script | ||
− | |||
− |
Latest revision as of 09:36, 3 June 2012
This widget allows you to override default DISQUS settings