Keyword

Output ''Disqus Comments'' in the article

  • Константин Колос
  • Константин Колос's Avatar Topic Author
  • Offline
  • New Member
More
2 weeks 4 days ago #172495 by Константин Колос
Константин Колос created the topic: Output ''Disqus Comments'' in the article
Good day!
I can not understand how to display the Disqus Comments AFTER the line of tags in the article.
For example: jnotes.net.ua/extensions/delete-copyright-in-phoca-download-3-1-9-and-several-other-hacks

Component com_content redefined. Here is a piece of code where a string of tags is displayed after the article:

<?php if ($article) : ?>
<?php echo $article; ?>
<?php endif; ?>
<?php if ($tags) : ?>
<div class="uk-alert uk-alert-green"><?php echo JText::_('TPL_WARP_TAGS').': '.$tags; ?></div>
<?php endif; ?>

Joomla 3.9.8 | Disqus Comments 3.7.0 | Template - YOOTheme Luna ( yootheme.com/blog/2016/08/01/luna-theme )

Thanks for the extension and hope for your help!

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 5 days ago #172521 by Fotis
Fotis replied the topic: Output ''Disqus Comments'' in the article
Disqus for Joomla works on certain plugin events. Your template may be missing the output of some. What's your template code for the article view.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Константин Колос
  • Константин Колос's Avatar Topic Author
  • Offline
  • New Member
More
1 week 5 days ago #172528 by Константин Колос
Константин Колос replied the topic: Output ''Disqus Comments'' in the article
Thanks for your reply.

I added a few files from my template in which the article was redefined.
If you have time to look at them, I will be very grateful.
Attachments:

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 4 days ago #172532 by Fotis
Fotis replied the topic: Output ''Disqus Comments'' in the article
You can try moving the tags list inside the Disqus article.php sub-template.

Just copy the /plugins/content/jw_disqus/jw_disqus/tmpl folder inside your Joomla template's /html folder, rename to /html/jw_disqus and then edit the article.php file.

If tags display as a loop from the object property $this->article->X you may need to change the loop to run from $article->X.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum