Online Chat
 Call Us: 
1-877-744-1221
Browse Submit a Ticket
 
Advanced Search
Tools
Rss Categories

Put a knowledge base search box on your website

Author: Edward Hardin Reference Number: AA-00561 Views: 7582 Last Updated: 11/01/2010 10:27 AM 100 Rating/ 1 Voters

You can put a knowledge base search box on your website. It includes a search field where visitor inputs his search phrase and search button that opens the knowledge base with search results when he clicks on it.

To insert the search box, you need to put this HTML code somewhere on your website:

<form action="http://www.web-site-scripts.com/knowledge-base/search" method="post" name="search">
<input name="searchText" type="text">
<input type="submit" value="Knowledge Base Search">
</form>


Replace the highlighted text with URL to your knowledge base and add "/search" to the end, e.g. URL to your knowledge base is:

http://kb.yourwebsite.com/

Then URL that you need to put instead of the highlighted text is this:

http://kb.yourwebsite.com/search/

if this URL doesn't work, try this instead:

http://kb.yourwebsite.com/index.php?/search/