Q5

こちらのサイトではDRUPAL10に関連する記事を掲載しています。

The UX team wants to display a search box in the site header region on all pages except for the search page itself The search page path is ”/search.” What is the simplest way to add the search form to the header region, and exclude it from the search page”

  • A. In the Block layout settings, add the search form block to the Header section and set the block to be excluded from the page “/search.”
  • B. Add the search block to all pages, and hide it from “/search” using css
  • C. Write a custom search View with a block layout Set a filter in the View to exclude the path “/search.”
  • D. Check the “show search” option in the site branding block, and set the block to be excluded from the page “/search.”
このサイトに関するご意見・ご質問はこちらまで

この記事またはDrupalに関するご質問がございましたら、お気軽にお問い合わせください。

タイトルとURLをコピーしました