Closed (fixed)
Project:
Profile search
Version:
5.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 May 2008 at 23:53 UTC
Updated:
14 Jul 2012 at 23:19 UTC
I have the profilesearch folder in sites/all/modules and I have activated it in /admin/build/modules but I have been unable to locate or use the profilesearch function.
I looked at the demo page you have listed http://www.jem-thematic.net/members and the member liusting is exactly what I am looking for.
I am using drupal 5.6. What do I have to do to use profilesearch?
Comments
Comment #1
Darrell commentedOk, I finally got a search block and can search for profile info but how do I get a page of names and user names like on your demo page???
Comment #2
aalamaki commentedThe module generates the page automatically. When you do the search it will return you to the page with the results, in minimum you should automatically see the links to the user profiles. For the module to be able to link the user profiles correctly, you must have the user names as the first field in your custom user profile.
The rest of the information shown on the results page for each match is outputted according to the fields in user profiles, it will output the field name and content for each match. In this part, the module is a bit customized to fit our user profile structure. To get it to output the rest of the information, you should in the module starting from line 86 change it from
into
This will output the user name and after that for each match the content of the profile field where it found the match (without a link to the content in the profile).
Creating links to specific data from the profile fields is somewhat more complicated, for this you must first create appropriate views to filter out data from a profile field and then produce links to the views in the code if the search result contains data from a profile field which you have a view created for and wish to have a link into. To be able to create this link you must check the profile_fields table in your database for the fid (field id) of the profile fields that you want to be shown as "special cases". Take for example,
where the $array['fid'] is the field id of the profile field. In the code just create the hyperlink according to your pre-created custom field for that profile field data. If you need further assistance, contact me by replying this post or through our contact form at http://www.jem-thematic.net/contact.
Comment #3
Crell commentedNo feedback from user, assuming is fixed.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.