Download & Extend

Outputting more than just searched on fields

Project:ProfilePlus
Version:5.x-1.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (works as designed)

Issue Summary

The ProfileSearch module is great it does exactly as you'd expect - you type in a value that you'd like to search on in the users e.g. Name and it outputs all users with the name that corresponds with your entered search.

My query is how do I get the search results to carry on doing what it does but also to output another field. In this case I want it to always output the users Home town.

So, lets say my search query is Smith. The ProfileSearch returns all users with the name Smith but also outputs their corresponding Home town from the profile fields.

Any help greatly appreciated.

Thanks

Comments

#1

Status:active» closed (works as designed)

As you noted, the search result text only returns profile fields that contain the terms that were searched for. There isn't a way to force a particular field that wasn't searched for to be included in the search result text, especially given that each site ProfilePlus is installed on will have it's own unique set of profile fields.

James

#2

Fair enough.... To be honest it was something I really felt I must have.... but actually several months down the line I've realised it wasn't essential at all...

Thanks for coming back to me.

#3

You're quite welcome. Hope you find the module useful.

James

#4

Module is great.. Love it. :-)

nobody click here