Skip to main content

Post categories

  • Drupal Tips & Tricks
  • Drupal Howtos
  • Drupal Themes
  • X Twitter
  • youtube
Home
Drupal 4U
Drupal Development, Drupal Web Design, Drupal SEO
  • Home
  • Showcases
  • Services
  • Blog
  • Themes
  • About
  • Contact

Breadcrumb

  1. Home
  2. HowTos
  3. How to display search results as views

How to display search results as views

HowTos
July 18, 2013
Profile picture for user drupal
By drupal
  • facebook-f
  • twitter
  • envelope
  • print
81

If you want to configure the appearance of the search result and/or improve the search results, the views module offers you a quick and very easy way to do so. With this solution you can 1. configure how the results look like i.e. what kind of fields are displayed and how the display is arranged and 2. determine how the results should be filtered and sorted.

Solution
Create a view with Page display

Step 1: Create a view with Page display

Add the contexutal filter "Search: Search Terms"

Step 2: Add the contexutal filter "Search: Search Terms"

Add any filters and fields you might use

Step 3: Add any filters and fields you might use

Set the page path to search/node/%

Step 4: Set the page path to search/node/%

Use the "Format" section to configure the appearance

Step 5: Use the "Format" section to configure the appearance

Modules

Read more articles

Newer
How to copy a Drupal site within 10 minutes
Older
"From address" doesn't work in Forward Module. How to solve the issue?
  • Log in to post comments
Profile picture for user drupal
drupal
81
1
min read
A- A+
  • facebook-f
  • twitter
  • envelope
  • print

Contact Drupal 4U

Get in touch for questions and our Drupal development, design and SEO services.

Contact Us

We aim to reply the latest within 48h.

About Drupal 4U

We are a group of Drupal designers, developers and webmasters and we launched this website to share our experience and knowledge with you. Drupal is a free software package that allows you to easily organize, manage and publish your content, with an endless variety of customization. Drupal is open source software maintained and developed by a very large community of developers and users.

  • X Twitter
  • youtube

Drupal Services

  • Drupal Web Design
  • Drupal Development
  • Drupal SEO
  • Drupal Migration

Drupal 4U

  • Services
  • Showcases
  • Themes
  • Blog
  • About

Drupal Links

  • Official Drupal Website
  • Drupal Answers
  • More Than Themes
  • Theme Forest
  • DXPR: Drupal for Marketers
2012 - 2025, Drupal 4U

Footer menu

  • Contact
Home
Drupal 4U
Drupal Development, Drupal Web Design, Drupal SEO
  • Home
  • Showcases
  • Services
  • Blog
  • Themes
  • About
  • Contact
Clear keys input element