Show jcomments count in GK4

Free responsive Joomla 2.5 and 3.x module to present your content with easy and intuitive way.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Wed Sep 01, 2010 7:18 pm
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';
}
User avatar
Fresh Boarder

teitbite
Thu Sep 02, 2010 1:31 pm
Hi

Sorry I didn't noticed this on any site I was helping with.
User avatar
Moderator


cron