Hi all,
I am creating social networking type application. I have created user profile using panels and views.
But I am unable to modify search page.
Clearly saying, I want to display user name, his picture,gender and title in search (just like orkut search).
I am using search module.
So how should i modify search result?
Right now it only shows user name and some information about user.
Thanks in advance.
Use Node Displays
Try out the Node Displays Project http://drupal.org/project/nd
There is a plugin called ND Search in it. Enable ND Search
Click on override search page on Site Building >> Display Suite >> Node Displays >> Search
Customize the search display for the content type you want in
Content Management >> Content Types >> YOUR CONTENT TYPE >> Display Fields >> Search Tab
You can choose the search result format by choosing the fields and their respective arrangement (middle, header, left, right, footer).
There are plenty of video tutorials on the internet on node display if you want to learn how to use the module in general.
NoParrots.com Drupal Training
http://www.noparrots.com
Use filters in views
You can use views and specify which all feilds you need to display.
The search can be implemented using "filters" in views.You can "expose" the filter for that.
Hi
I think you can use hook_search function for this
please follow the link
http://api.drupal.org/api/function/hook_search
Muhammed Naushad