Keyword

Output ''Disqus Comments'' in the article

  • Константин Колос
  • Константин Колос's Avatar Topic Author
  • Offline
  • New Member
More
3 years 1 month ago #172495 by Константин Колос
Output ''Disqus Comments'' in the article was created by Константин Колос
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.

More
3 years 1 month ago #172521 by JoomlaWorks
Replied by JoomlaWorks on 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.

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

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

  • Константин Колос
  • Константин Колос's Avatar Topic Author
  • Offline
  • New Member
More
3 years 1 month ago #172528 by Константин Колос
Replied by Константин Колос on 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.

More
3 years 1 month ago #172532 by JoomlaWorks
Replied by JoomlaWorks on 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.

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