By Gregor on Thursday, 12 October 2017
Posted in General Issues
Replies 3
Likes 0
Views 522
Votes 0
Hi,

I would like to set the default ordering of pages to alphabetica. Is there an option to do this?

Regards,
Mark
Hi there,

Currently, it is not possible to achieve this on the backend as our purpose is to shown latest first and then let the users choose which sorting they wanted to see. But, if you wanted them to shown by name first, you can head to this path .../components/com_easysocial/views/pages/view.html.php and applied codes below at line 161

[gist type="php"]
$ordering = $this->input->get('ordering', 'name', 'cmd');
[/gist]

Please give it a try and see how it goes.
·
Thursday, 12 October 2017 11:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Abdul,

Thanks, it worked fine!!

Regards,
Mark
·
Thursday, 12 October 2017 20:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Mark, glad that your issues are resolved now
·
Thursday, 12 October 2017 23:01
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post