Paste the code that you copied somewhere within the <body> tag in your site and you're done! Users in your site can now search our database using the search box.
Optional:
1. If you want the search results to appear in a new window, just change YG.Search.OpenNewWindow = false; to YG.Search.OpenNewWindow = true;
2. If your website uses a global form (such as GuildPortal), you may be unable to use the default setting. To use the JavaScript form, change YG.Search.UseJavaScript = false; to YG.Search.UseJavaScript = true;
You can use the parameters below to define your own CSS class names and customize your YG Search Box's style.
SearchWrapper : Allows you to customize the main search box container by defining your own CSS rules for width, height, background color/image, border, and so on.
SearchInput : Allows you to define your own CSS rules for the search input box.
SearchButton : Allows you to customize the CSS for the search button.
SearchButtonText : Allows you to change the text of the search button. If you want to remove the text found within the search button, keep this parameter empty.
Note: Setting YG.Search.Type will overwrite any custom styles applied to the search box because the Type parameter handles our own pre-defined styles.
Search to specific list pages
You can use this parameter if you want to search to a specific list page only ex: items