Tuesday, 03 January 2017
  2 Replies
  1.1K Visits
0
Votes
Undo
How can we change the jevents list to be sorted by the time created by default, so we can see the latest events first in the backend, without sorting the events with this specific filter.
Tuesday, 03 January 2017 19:50
·
#181128
0
Votes
Undo
Hello,

Is this for the list of events in the admin area of JEvents? You would at the very least need a core override to change this which would be lost on updates.

Or is this for an admin area you have in the front end using the latest events module?

Many thanks
Tony

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!Join the JEvents club today!

Thursday, 05 January 2017 08:34
·
#181203
0
Votes
Undo
p.s. if you are referring to the backend list of events you will need to change line 301 of administrator/components/com_jevents/controllers/icalevent.php from
$order = JFactory::getApplication()->getUserStateFromRequest("eventsorder", "filter_order", 'start');
to
$order = JFactory::getApplication()->getUserStateFromRequest("eventsorder", "filter_order", 'created');


Also change the default sort direction from asc to desc on line 300 of the same file.

Keep a note of your changes so you don't loose them when you upgrade JEvents.

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.