Skip to Content

Create Stronger Search Functionality (using views) Drupal Video Tutorial for Advance Views Search views exposed filter



Drupal Exposed Filters Video Tutorial
Views Exposed Filter



Drupal 7 Views Search
If you want to make a searh functionality using Title of the Content (page,story,blog,article,book)

Step 1 : Click on Administer
Step 2 : Click on views
Step 3 : Click on Add
Step 4 : Fill in details for 'View name:' , 'View type: ' select 'Node' and hit 'Next' button.
Step 5 : Select 'Page' from dropdown on first column and click on 'Add display' button.
Step 6 : Under 'Basic settings' you can Select Name click 'page' and see below change the name from 'page' to say 'Search_Content' and push the 'update' button.
Step 7 : Under 'Page settings' you can Select Path click 'None' and see below change the name from 'Path' to say 'search_content' and push the 'update' button.
Step 8 : Under 'Page settings' you can Select Menu click 'No menu' and see below select 'Normal menu entry' give 'Title:' for text-field say 'Search' and select a Menu Link: 'Primary links' and push the 'update' button.
Step 9 : Now click the '+' link near 'Fields' column.
Step 10 : Now select 'Node' under 'Groups:' and select 'Node : Title' and click 'Add' button.
Step 11 : You can remove the text from 'Label:' Text-field and make the Text-field blank.
Step 12 : Click the 'Save' button below. Note all these changes are 'temporary' till when you dont press the 'Save' button below.
Step 13 : You will see a new menu link would be created click on it and check the list of Content titles.


Place Search Bar Now


Step 14 : Edit the Search_Content
Step 15 : Now click the '+' link near 'Filters' column.
Step 16: Now select 'Node' under 'Groups:' and select 'Node: Title' and click 'Add' button.
Step 17: Now You will see 'Expose' button and push the 'update' button.
Step 18: Click the 'Save' button below. Note all these changes are 'temprory' till when you dont press the 'Save' button below.
Step 19: Click on same button with menu links the list of Content titles will be listed with Search bar.