How to Place the Search Form
You can guide users to Fess search results by adding a search form to an existing website. Here, we will explain with an example of setting up Fess on https://search.n2sm.co.jp/ and placing a search form on various pages of an existing site.
Search Form
Place the following code in the location where you want to have a search form within the page:
Please adjust it as needed using CSS to match the design of your site by adding class names through the class attribute. Make sure to replace the URL of https://search.n2sm.co.jp/ with the URL of the Fess server you have set up for your use.
Suggestion
You can also set up a suggestion feature for the placed search form. If you wish to set it up, add the following code before </body>:
If you are already using jQuery on your site, there is no need to add the jQuery script element.
Specify a value for “z-index” that does not overlap with other elements.