Copyright © 2006 - 2026 JoomlaWorks Ltd.
JoomlaWorks Ltd. and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.
Output ''Disqus Comments'' in the article
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!
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.
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.
Log in or create an account to reply.