Widget:Comments: Różnice pomiędzy wersjami
m |
|||
Linia 2: | Linia 2: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
/*** Required Settings: Edit BEFORE pasting into your web page ***/ | /*** Required Settings: Edit BEFORE pasting into your web page ***/ | ||
− | |||
− | |||
var vanilla_identifier = '<!--{$uniqid|escape:'quotes'}-->'; // Your unique identifier for the content being | var vanilla_identifier = '<!--{$uniqid|escape:'quotes'}-->'; // Your unique identifier for the content being | ||
commented on | commented on | ||
Linia 9: | Linia 7: | ||
/*** Optional Settings: Ignore if you like ***/ | /*** Optional Settings: Ignore if you like ***/ | ||
// var vanilla_discussion_id = ''; // Attach this page of comments to a specific Vanilla DiscussionID. | // var vanilla_discussion_id = ''; // Attach this page of comments to a specific Vanilla DiscussionID. | ||
− | + | var vanilla_category_id = '37'; // Create this discussion in a specific Vanilla CategoryID. | |
/*** DON'T EDIT BELOW THIS LINE ***/ | /*** DON'T EDIT BELOW THIS LINE ***/ | ||
(function() { | (function() { | ||
var vanilla = document.createElement('script'); vanilla.type = 'text/javascript'; var timestamp = new Date().getTime(); | var vanilla = document.createElement('script'); vanilla.type = 'text/javascript'; var timestamp = new Date().getTime(); | ||
− | vanilla.src = | + | vanilla.src = '//gadia.pl/js/embed.js'; |
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(vanilla); | (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(vanilla); | ||
})(); | })(); |