For integration with news show pro gk1
Open modules/mod_news_pro_gk1/tmpl/layoutparts.php
Change line (around 427) to
//
global $mainframe;
$comments = JPATH_BASE . DS . 'components' . DS . 'com_jcomments' . DS . 'jcomments.php'; if (file_exists($comments)) { require_once($comments);
$count = JComments::getCommentsCount($news_id, 'com_content');
$news_info .= '<a class="gk_npro_intro_comments" href="'.JRoute::_(ContentHelperRoute::getArticleRoute($news_id,$news_cid, $news_sid)).'#comments" '.$attributes.'>'.JText::_('COMMENTS').' ('. $count . ')</a>';}
}
Be sure to use $news_id!!