Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    General discussion    Topic: Remove comments count
Pages: [1]   Go Down
  Print  
Author Topic: Remove comments count  (Read 1204 times)
0 Members and 1 Guest are viewing this topic.
anorvald
Newbie
*

Karma: 0
Offline Offline

Posts: 1


Email
« on: February 18, 2010, 16:32:09 »

Hi!

Jcomments is great, but i have a question a seem to cant find the answer for.

When viewing my news in a section i have

time | author | # comments | icons

I would like to remove the comments count. How do i do that? I've tried to find the code, but no sucess? In which file can i remove this function when viewing news in a section.

Ps. i use gavickpro the world news...
Logged
smor
Newbie
*

Karma: 0
Offline Offline

Posts: 10


WWW
« Reply #1 on: February 22, 2010, 03:43:52 »

It looks like the file you'd be wanting to modify is the template that generates that section of the page. If you stopped jcomments from passing the data all you would achieve is '0 comments' output all the time; which is why you need to modify that sections template files. If you're not using override files you should be able to find what you need in components/com_(your component displaying the page)/tpl/default. Based on how other components do it I'd guess the file you're looking for is going to be something like item.php. I don't have that specific component so can't be more specific, but I hope this points you int he right direction.
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: Remove comments count
 
Jump to: