I want to modify the default "user search via tag" so that it can search in a customized way. Now I go to mod/members/index.php and trying to study the code at this file. I can find "$sidebar = elgg_view("members/search");" statement. Is this the searching function? Where can I find the file which contains the coding? If I want to include "about me" as a tag search here, is this the right file which I need to modify? If not, can anyone please let me know where I can make modification? Thanks.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
@rahulneo - I don't understand what you mean by "page specific search." Which fields are you talking about?
@ Brett I am trying to add some additional fields in page that is (location,venue,start and end date,category) and want to make the page group specific.Now I want to make each and every fields searchable including category by adding an additional search box for page not via tag.
How to do that?
Thanks a lot.
@ Brett I want to add an additional fields for search for page and blog only to search fields not via tag.
@dwaipayan and @rahulneo,
Along with my study, I discovered this. If you want to search in the field instead of the tag. You can add a new textbox for search at this page mod/members/views/default/members/serach.php. Then pass the $filter and $tage value to this page mod/members/index.php. From this page mod/members/index.php, you may need to write a new search function in users.php which will search field only. Take a look at list_user_search() and search_for_user() in engine/lib/users.php to have an idea on how to do the coding. Hope this help. Cheers.
@hakeem777 more specific help please.
Thanks a lot.
@Brett, where does the tag store and how do I define the tag? Thanks.
Hello @hakeem777, I just added a entry in http://community.elgg.org/mod/groups/topicposts.php?topic=506635&group_guid=179063
@Brett correct me if I am wrong.
Regards.
- Previous
- 1
- 2
- Next
You must log in to post replies.