1

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.

3

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

  • 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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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