Need Help

  • warning: include() [function.include]: Unable to access /home/drupal_in/drupal.in/themes/engines//includes.php in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include(/home/drupal_in/drupal.in/themes/engines//includes.php) [function.include]: failed to open stream: Success in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include() [function.include]: Unable to access /home/drupal_in/drupal.in/themes/engines//includes.php in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include(/home/drupal_in/drupal.in/themes/engines//includes.php) [function.include]: failed to open stream: Success in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include() [function.include]: Failed opening '/home/drupal_in/drupal.in/themes/engines//includes.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
devendra's picture

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.

muhammednaushad's picture

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

indureghunath's picture

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.

sidharth_k's picture

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