I've already set the JCE profile to allow PHP, JS etc
And the Joomla Config is set to no filter for my login.
But when I try to insert the official Disqus code (which I assume is correct syntax), the JCE changes it a bit. It doesn't strip out the code but it's different and doesn't work.
Any ideas please?
Correct Disqus Code:
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = 'mydisqususer';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + 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="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
JCE Changes it to:
<div id="disqus_thread"></div>
<script type="text/javascript">
// <![CDATA[
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = 'mydisqususer';
/* * * DON'T EDIT BELOW THIS LINE * * */ (function() {
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = '//' + 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="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a>
</noscript>
Thanks,
Bob.
And the Joomla Config is set to no filter for my login.
But when I try to insert the official Disqus code (which I assume is correct syntax), the JCE changes it a bit. It doesn't strip out the code but it's different and doesn't work.
Any ideas please?
Correct Disqus Code:
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = 'mydisqususer';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + 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="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
JCE Changes it to:
<div id="disqus_thread"></div>
<script type="text/javascript">
// <![CDATA[
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = 'mydisqususer';
/* * * DON'T EDIT BELOW THIS LINE * * */ (function() {
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = '//' + 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="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a>
</noscript>
Thanks,
Bob.
It seems that module parameters haven't been configured properly. Please make sure that you are using a valid twitter username, and
that you have inserted the correct keys. Detailed instructions are written in the module settings page.