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: [SOLVED] How do I get rid of the number sign (#)?
Pages: [1]   Go Down
  Print  
Author Topic: [SOLVED] How do I get rid of the number sign (#)?  (Read 2048 times)
0 Members and 2 Guests are viewing this topic.
andrewgah
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« on: May 24, 2010, 08:28:58 »

Hi! Great extension.

I'm using the "tree" layout style for the comments, so the comment number isn't shown, but there's still a number sign (#) link. It's a little confusing and not very useful, so I'd like to get rid of it. What's the easiest way to eliminate the number sign?

Thanks!
« Last Edit: May 27, 2010, 11:56:26 by andrewgah » Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: May 25, 2010, 01:08:12 »

See here: Add number comment first #
Logged

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

Karma: 0
Offline Offline

Posts: 3


« Reply #2 on: May 26, 2010, 04:19:57 »

Thank you! That makes it look better. Is there any way to eliminate the number sign completely?
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #3 on: May 26, 2010, 12:08:39 »

Is there any way to eliminate the number sign completely?
what do you mean?
Logged

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

Karma: 1
Offline Offline

Posts: 19


Email
« Reply #4 on: May 26, 2010, 13:21:57 »

what do you mean?
He means the symbol “#” itself. He'd like to have the number only.
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #5 on: May 26, 2010, 13:26:42 »

Do you want to remove symbol #? In this case you need edit file /components/com_jcomments/tpl/default/tpl_comment.php
Logged

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

Karma: 1
Offline Offline

Posts: 19


Email
« Reply #6 on: May 26, 2010, 14:16:57 »

Specifically - line 47

snip...

Code:
id="comment-<?php echo $comment->id?>">#<?php echo $comment_number?>

this... >#<
Logged
andrewgah
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #7 on: May 27, 2010, 11:53:38 »

Thank you! This was exactly what I was looking for.  Grin

Everything looks fantastic! Thanks a lot!  Cheesy
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: [SOLVED] How do I get rid of the number sign (#)?
 
Jump to: