Keyword

Disqus universal code for joomla

  • Igor Voloshchuk
  • Igor Voloshchuk's Avatar Topic Author
  • Offline
  • New Member
More
5 years 6 months ago #169694 by Igor Voloshchuk
Disqus universal code for joomla was created by Igor Voloshchuk
Hi! I use Joomla and Disqus Comments (for Joomla) [by JoomlaWorks], but I want to insert Disqus Comments a little bit lower than the article is situated. So I created a module and was trying to insert some code.

I was hoping that disqus plugin has some {instals through short code}, but didn't find that and was going to do this as it shown here - disqus.com/admin/universalcode/, but comments did not appear.

I use this universal code
<div id="disqus_thread"></div>
<script>
    /**
     *  RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
     *  LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables
     */
    /*
    var disqus_config = function () {
        this.page.url = PAGE_URL;  // Replace PAGE_URL with your page's canonical URL variable
        this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
    };
    */
    (function() {  // DON'T EDIT BELOW THIS LINE
        var d = document, s = d.createElement('script');
        
        s.src = 'https://a-r-c-h-ru.disqus.com/embed.js';
        
        s.setAttribute('data-timestamp', +new Date());
        (d.head || d.body).appendChild(s);
    })();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>

I don't know what variables to use for Joomla. Can you help me, please?
Or is it possible to put comments in a module with help of your plugin?
Thank you.

Please Log in or Create an account to join the conversation.

  • Igor Voloshchuk
  • Igor Voloshchuk's Avatar Topic Author
  • Offline
  • New Member
More
5 years 6 months ago #169702 by Igor Voloshchuk
Replied by Igor Voloshchuk on topic Disqus universal code for joomla
Hi! Waiting for your reply!)

Please Log in or Create an account to join the conversation.

  • Igor Voloshchuk
  • Igor Voloshchuk's Avatar Topic Author
  • Offline
  • New Member
More
5 years 6 months ago #169736 by Igor Voloshchuk
Replied by Igor Voloshchuk on topic Disqus universal code for joomla
Can somebody help me?

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #169769 by JoomlaWorks
Replied by JoomlaWorks on topic Disqus universal code for joomla
It doesn't work like that. Disqus augments the article layout with its own templates. Use those if possible to override whatever you want. Instructions here: www.joomlaworks.net/extensions/free/disqus-comments-for-joomla

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Igor Voloshchuk
  • Igor Voloshchuk's Avatar Topic Author
  • Offline
  • New Member
More
5 years 5 months ago #169953 by Igor Voloshchuk
Replied by Igor Voloshchuk on topic Disqus universal code for joomla
Hi! thank you for a reply!
So, there is no possible way to use universal code in some module on the page with article disqus.com/admin/universalcode/ in joomla?
Can you help to configure this code?

I'm asking because I already use the plugin you gave me a link on. But I can't do this with help of it(

Will be waiting for your reply!

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #169979 by JoomlaWorks
Replied by JoomlaWorks on topic Disqus universal code for joomla
That's what the plugin we provide is for. And it's the best way to integrate it into your content. Anything else would simply re-produce what the plugin does already, which is out of the scope of the support we provide here.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum