By P Hughes on Monday, 16 March 2015
Posted in Technical Issues
Replies 8
Likes 0
Views 603
Votes 0
Hi

How do i Change Ascending/Descending on Past Events, When i go to past events it list the first event we ever did and i have to cycle through loads of pages to get to the last. Is it possible to display last event First?

Thanks

Steve
Hello Steve,

I've modified your file: ../components/com_easysocial/views/events/view.html.php. You can see on line 292 and change the direction. Please give it a try.
·
Monday, 16 March 2015 19:02
·
0 Likes
·
0 Votes
·
0 Comments
·
That works thanks

Will the code be added to Easysocial Next update or will i have to manually edit code myself when next update is released.

Thanks

Steve
·
Tuesday, 17 March 2015 01:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Steve,

I am sorry for the delay of this reply.

You are most welcome. Glad that your issue has been resolved now.
By the way, this modification will not be included in the next release. You need to backup the file after each update
·
Tuesday, 17 March 2015 10:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

Sorry to trouble you again but could you send me the code as i didnt back it up.

Thanks

Steve
·
Tuesday, 24 March 2015 02:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Steve,

I am sorry for the delay of this reply.

Please add the following code inside your /components/com_easysocial/views/events/view.html.php at line 292:

$options['direction'] = 'DESC';


For future references I attach the file below and you can download it later
·
Tuesday, 24 March 2015 13:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks so much
·
Tuesday, 24 March 2015 13:50
·
0 Likes
·
0 Votes
·
0 Comments
·
I've done a bit of testing and it doesnt always work, is it possible that the 2 little tabs at the top right (sort by event date & sort by creation date) could be changed to show events ascending and decending?
·
Tuesday, 24 March 2015 14:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Steve,

I'm afraid it is not possible to achieve it with the current system. I am sorry
·
Tuesday, 24 March 2015 18:56
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post