Tuesday, 30 June 2015
  5 Replies
  2.1K Visits
0
Votes
Undo
Is possible to change the event order on search ? It's displaying the oldest to newest, and i wanted it to display from the newest to the oldest (anti-chronological).

Thanks :D
Wednesday, 01 July 2015 10:07
·
#151660
0
Votes
Undo
Is this in the Joomla search or the JEvents internal search

By newest do you mean the order or creation or the order of event start date?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

Thursday, 02 July 2015 12:51
·
#151661
0
Votes
Undo
In the JEvents internal search, i want the search order with event start date from the newest to oldest. But i can't find the file to change the search parameters.
Thursday, 02 July 2015 15:00
·
#151662
0
Votes
Undo
I'm sorry 'newest' = nearest to now, 'oldest' = furthest into the future or 'oldest' = furthest into the past ?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

Thursday, 02 July 2015 19:27
·
#151663
0
Votes
Undo
sorry, like from the future (the first one of the list) to the past (the last one of the list) (anti-cronological) using start date as parameter.
Like the actual search, but invert the order.
Friday, 03 July 2015 14:49
·
#151664
0
Votes
Undo
Lets say you are using the Flat layout then copy the file components/com_jevents/views/flat/search/tmpl/results_body.php to template/Y)OURTEMPLATE/html/com_jevents/flat/search/results_body.php and edit this file

Then switch the for look at line 29 to read
for( $r = $data['num_events']-1; $r >=0; $r-- ){

Note that it will only work when you are displaying ALL the results and not just some of them

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.