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: Removing Icons
Pages: [1]   Go Down
  Print  
Author Topic: Removing Icons  (Read 957 times)
0 Members and 1 Guest are viewing this topic.
MattG
Newbie
*

Karma: 0
Offline Offline

Posts: 15


« on: September 09, 2010, 10:27:23 »

Hi

Is it possible to remove these icons?




What code do I need to change?

Thanks,
Matt
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: September 09, 2010, 15:16:38 »

These icons are available for users who has permissions to moderate comments (publish, remove, edit). You could remove this buttons quickly but in this case you will not available to edit/publish/remove comments from frontend.

Open file /components/com_jcomments/tpl/default/tpl_comment.php and remove (or comment) code:
Code: (php)
$this->getCommentAdministratorPanel( $comment );
Logged

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

Karma: 0
Offline Offline

Posts: 15


« Reply #2 on: September 10, 2010, 02:39:12 »

These icons are available for users who has permissions to moderate comments (publish, remove, edit). You could remove this buttons quickly but in this case you will not available to edit/publish/remove comments from frontend.

Open file /components/com_jcomments/tpl/default/tpl_comment.php and remove (or comment) code:
Code: (php)
$this->getCommentAdministratorPanel( $comment );


Thank you. Smiley Is there any way to remove the icons but KEEP the horizontal line?


Cheers,
Matt
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #3 on: September 10, 2010, 03:33:17 »

Is there any way to remove the icons but KEEP the horizontal line?
For what purpose? When we've administrator's panel we need this line to separate panel from comment. But if you're remove this panel this line isn't needed.

You could add this line if you need it. For example you could replace code I've suggested to remove with some DIV or HR element and assign some style for it.
Logged

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

Karma: 0
Offline Offline

Posts: 15


« Reply #4 on: September 10, 2010, 03:43:14 »

Is there any way to remove the icons but KEEP the horizontal line?
For what purpose? When we've administrator's panel we need this line to separate panel from comment. But if you're remove this panel this line isn't needed.

You could add this line if you need it. For example you could replace code I've suggested to remove with some DIV or HR element and assign some style for it.

The purpose to keep the line is because I am moving the reply buttons below the line. Thanks for the tip. I will try it. Smiley
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: Removing Icons
 
Jump to: