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: After first comment is added can it just say "Read X comments"
Pages: [1]   Go Down
  Print  
Author Topic: After first comment is added can it just say "Read X comments"  (Read 1679 times)
0 Members and 1 Guest are viewing this topic.
rowby
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« on: January 25, 2010, 22:12:26 »

Hello

Client has requested if the following is possible.

Right now, by default in JComments,  if no comments are added to an article the following shows:

"Write comment (0 comments)"

Then when one comment is added it says:

"Write comment (1 comment)"

Client would like it to show, after one comment:

"Write Comments  Read comments"


Is there a perimeter or hack that will do this?

Perhaps in Language pack?

Thanks,

...Rowby
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: January 25, 2010, 22:24:57 »

If no comments then link has title 'Add comment', then at least one comment present it will change to 'Read comments (1)'. This is default behaviour.

You can change these links in /components/com_jcomments/tpl/default/tpl_links.php file. You can define your own logic for displaying these links.
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
rowby
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #2 on: January 25, 2010, 23:20:48 »

Thanks! 

Also can you tell me where the language files for JComments are located?

Thanks

Rowby
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #3 on: January 26, 2010, 00:55:49 »

English language file located here (from site root): /language/en-GB/en-GB.com_jcomments.ini. Other languages located in  subfolders of /langugage/ folder...
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
rowby
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #4 on: January 26, 2010, 01:18:22 »

Thank you!
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: After first comment is added can it just say "Read X comments"
 
Jump to: