By IRNA on Saturday, 09 March 2019
Posted in General Issues
Replies 5
Likes 0
Views 413
Votes 0
I have two questions related to member search results.
1 - Can I add custom fields to the information shown for each member in the search results?
2 - Can I sort the order of the search results by profile type, and then alphabetical?

Thank you for your help.
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

1 - Can I add custom fields to the information shown for each member in the search results?

Yes, you can add new search filter for the certain custom field condition from advanced search area, you can watch my video here : https://take.ms/NP1fP

2 - Can I sort the order of the search results by profile type, and then alphabetical?

Are you referring normal search or advanced search?
Currently only possible to sort the order from the advanced search result but it doesn't order by the profile type. https://www.screencast.com/t/wJQJHIgIyz
·
Saturday, 09 March 2019 10:00
·
0 Likes
·
0 Votes
·
0 Comments
·
I'm sorry I should have been more clear.

In the search results, where it says "No friends yet. No followers yet. No badges yet." Can I instead have it display a custom field populated by the user? Like a phone number or address?

In Jomsocial, I was able to add "User Information" to show additional fields in the search results. See the attached screenshots.



I can see the available sorting options. What file or files can I edit to add more sorting options?
·
Monday, 11 March 2019 23:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Currently we do not have this such of setting to set what information to appear under the search result area.

But you can modify on this file -> JoomlaFolder/components/com_easysocial/themes/wireframe/helpers/listing/user/listing.php

Then override into your current template file location JoomlaFolder/templates/YourCurrentTemplate/html/com_easysocial/helpers/listing/user/listing.php
·
Tuesday, 12 March 2019 10:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for your help.
And what file can i edit to add sorting by profile type as an option for advanced search?
·
Wednesday, 13 March 2019 12:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Are you referring this sorting option on advanced search page ? https://www.screencast.com/t/Irhr6mgZs0dc

If yes, you can modify on this file JoomlaFolder/components/com_easysocial/themes/wireframe/search/advanced/contents.php

If you would like to add new option, you have to take a look this #__users table and see got any column name is available because this is the part it execute the SQL query https://take.ms/fk8qr
JoomlaFolder/administrator/components/com_easysocial/models/search.php
·
Wednesday, 13 March 2019 15:28
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post