By Rik Brown on Thursday, 05 January 2017
Posted in Groups
Replies 4
Likes 0
Views 652
Votes 0
Hi! I've just installed EasySocial and imported everything from JomSocial.

However, I don't see a setting to set the sort order of Groups to alphabetical. There is obviously the choice to do so manually while viewing groups and with 288 groups (mostly countries) it's very difficult find the group one is looking for (see the attachment).

1) Which file (and where is it located) would I need to edit to change the default Group sorting to Alphabetical?

2) Likewise, is there a setting to sort the Group "Categories" list (shown with the red check mark on the left side of the image)? I don't see why these should have what looks like a random ordering....

Thanks. -- Rik
Hi Rik,

Kindly find my response to your inquiries below:
1) Which file (and where is it located) would I need to edit to change the default Group sorting to Alphabetical?
-> You can edit the file in the function display:
JoomlaFolder/components/com_easysocial/views/groups/view.html.php

2) Likewise, is there a setting to sort the Group "Categories" list (shown with the red check mark on the left side of the image)? I don't see why these should have what looks like a random ordering....
-> For this you need to edit the files:
JoomlaFolder/components/com_easysocial/themes/wireframe/groups/default/default.php
and
JoomlaFolder/components/com_easysocial/controllers/groups.php
in this file its locate in the Function Filter

You're suggested to backup the file that you want to edit/customize beforehand for precaution
·
Thursday, 05 January 2017 11:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Muhammad:

1) I changed the default sorting from 'latest' to 'name' which took care of the default Group sort issue. Thanks!

2) On making the same change to the group Categories, they still remain sorted by 'latest' even if I change the sort to 'name'. Any ideas?

Thanks. -- Rik
·
Wednesday, 11 January 2017 14:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Rik

Kindly find my response to your inquiries below:
1) I changed the default sorting from 'latest' to 'name' which took care of the default Group sort issue. Thanks!
-> Superb! you've make it right there

2) On making the same change to the group Categories, they still remain sorted by 'latest' even if I change the sort to 'name'. Any ideas?
-> Actually hack this almost the same as the first inquiry where you need to change 'latest' to 'name' on both file as I've mention above
Perhaps, can you try to replace the file attached in the file below accordingly :
JoomlaFolder/components/com_easysocial/themes/wireframe/groups/default/default.php
JoomlaFolder/components/com_easysocial/controllers/groups.php

and see how it goes?
·
Wednesday, 11 January 2017 16:45
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post