I need to show the search box on that page and specific search if sometime type related news then search result appear. I need only the search box for this content type.


If I understand your question correctly, you want to display the 'Search form' block for a specific content type.

On admin/structure/block/manage/search/form/configure you can change the 'Visibility settings' and show the block for specific content types. Below a screenshot where I have selected to display the search form on nodes of my custom content type 'Blog overview':

Block visibility settings for specific content types

| improve this answer | |
  • search form block is working fine and i need another search form which is working for latest news only – Sumit Aggarwal Dec 27 '16 at 6:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.