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: people cant see the email of commentator and reverse order problem
Pages: [1]   Go Down
  Print  
Author Topic: people cant see the email of commentator and reverse order problem  (Read 1436 times)
0 Members and 1 Guest are viewing this topic.
KadlecJ
Newbie
*

Karma: 0
Offline Offline

Posts: 2


Email
« on: August 11, 2010, 22:49:07 »

hello on www.alpujarra.isgreat.org   section Notice Board.
In administration i CAN see the email of commentators but in front end there is nothing
Also i set tree layout mode nice but its order set default to last in first place on page.
Looking for solution how to reverse order in tree layout mode
Any help?
Jarda
« Last Edit: August 11, 2010, 23:07:09 by KadlecJ » Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #1 on: August 12, 2010, 13:58:33 »

1. You could edit tpl_comment.php and show author's email in frontend.
2. In my mind reverse order isn't applicable to tree view because it will be not usable. But if you want this you will need made modification:

1. Open /components/com_jcomments/model/jcomments.php
2. Replace code:
Code: (php)
$options['orderBy'] = ($config->get('template_view') == 'tree') ? 'c.parent, c.date ASC' : ('c.date ' . $config->get('comments_order'));
with
Code: (php)
$options['orderBy'] = ($config->get('template_view') == 'tree') ? 'c.parent, c.date DESC' : ('c.date ' . $config->get('comments_order'));
Logged

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

Karma: 0
Offline Offline

Posts: 2


Email
« Reply #2 on: August 12, 2010, 23:05:37 »

thanx for help
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: people cant see the email of commentator and reverse order problem
 
Jump to: