Forums / Setup & design / How to integrate standard search
Don Blogger
Sunday 30 November 2008 3:11:04 am
Hi,
I have seen information about standard search in various places, but never how to integrate it.
Could anybody please provide a sample or give me more information on how to have my own search text field working?
TIA,
DonBlogger
Gaetano Giunta
Monday 01 December 2008 2:50:24 am
The best way to find out about the "standard" search api is to download ezfind (or another ezp serach extension) and look at the code.
Principal Consultant International Business Member of the Community Project Board
John Moritz
Monday 01 December 2008 6:57:29 am
If you just want a quick and dirty solution for the standard search and only need the search text field, include the following code into your search site:
<form action="/index.php/content/search"> <input id="searchtext" name="SearchText" type="text" value="" size="12" /> <input id="searchbutton" class="button" type="submit" value="Suchen" alt="Submit" /></form>
This should work.