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: How to move: Reply | Reply with quote | Quote
Pages: [1]   Go Down
  Print  
Author Topic: How to move: Reply | Reply with quote | Quote  (Read 800 times)
0 Members and 1 Guest are viewing this topic.
MattG
Newbie
*

Karma: 0
Offline Offline

Posts: 15


« on: August 23, 2010, 12:09:44 »

Hi,

I'd like to move: "Reply | Reply with quote | Quote" down and put them in the toolbar

Please see screenshot for visual reference:



I tried to find out using firebug, but I just can't seem to do it.

Thanks in advance,
Matt

Logged
BBC
Full Member
***

Karma: 4
Offline Offline

Posts: 197



« Reply #1 on: August 23, 2010, 14:48:17 »

As you already don´t have rounded corners for comments it is easy to make toolbar. There is no need to move them.

Just style comments-buttons as you wish.

If you want them as separate buttons wrap:

<?php
               if ($this->getVar('button-reply') == 1) {
?>
<a href="#" onclick="jcomments.showReply(<?php echo $comment->id; ?>); return false;"><?php echo JText::_('Reply'); ?></a>
<?php
                  if ($this->getVar('button-quote') == 1) {
?>
 | <a href="#" onclick="jcomments.showReply(<?php echo $comment->id; ?>,1); return false;"><?php echo JText::_('Reply with quote'); ?></a> |
<?php
                                 }
               }
               if ($this->getVar('button-quote') == 1) {
?>
<a href="#" onclick="jcomments.quoteComment(<?php echo $comment->id; ?>); return false;"><?php echo JText::_('Quote'); ?></a>
<?php
               }
               if ($this->getVar('button-report') == 1) {
                  if ($this->getVar('button-quote') == 1 || $this->getVar('button-reply') == 1) {
?>
 |
<?php
                  }
?>
<a href="#" onclick="jcomments.reportComment(<?php echo $comment->id; ?>); return false;"><?php echo JText::_('Report to administrator'); ?></a>
<?php

in some classes or div´s and style them.


---------------------------------------------------------------------------

<div class="some_class"><a href="#" onclick="jcomments.showReply(<?php echo $comment->id; ?>); return false;"><?php echo JText::_('Reply'); ?></div></a>

Something like that. I didn´t try .
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: How to move: Reply | Reply with quote | Quote
 
Jump to: