Products
Demo
Forum
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
May 23, 2012, 21:47:08
Advanced search »»
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
Posts: 15
How to move: Reply | Reply with quote | Quote
«
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
Posts: 197
Re: How to move: Reply | Reply with quote | Quote
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Announcements
-----------------------------
JComments component
-----------------------------
=> General discussion
=> Suggestions, Wishlists & Feature Requests
=> Integration with third-party extensions
===> AlphaUserPoints
===> CommunityBuilder
===> K2 JComments
=> Translations
=> Bug-reports
-----------------------------
ProofReader component
-----------------------------
=> General discussion
=> Suggestions, Wishlists & Feature Requests
=> Translations
=> Bug-reports
-----------------------------
Other extensions
-----------------------------
=> Plugins
=> Modules
Loading...