Hi. I need to show in module GK4 the jcomments count in each article.
I see in the joomlatunes code to do its, but I waqnt to know if anybody have now this modification.
Thanks you.
code:
$comments = $mosConfig_absolute_path . '/components/com_jcomments/jcomments.php';
if (file_exists($comments)) {
require_once($comments);
$count = JComments::getCommentsCount($id, 'com_mycomp');
echo $count ? ('Comments('. $count . ')') : 'Add comment';
}