Conduit API
Case Study
Case Study -> Personal App -> Quick Search
 
In this section you will learn how to create a Quick search component for the "Date Me" site.
Note: Quick search component is valid only after user login.
 
 
1. On the HTML component add client side onclick event to the Quick search button. onclick="OpenFloatingWindow(QUICK_SEARCH_FORM_URL)"
2. Implement a Quick search form on your website, that will be used as the gadget window source (The "Date Me" search engine uses the gadget form parameters to perform the search).
3. On the gadget Quick search form, add client side onclick event to the search button. Collect the form's parameters and append them to the "Date Me" search engine url (In order to see the results in the mainframe you need to change the location.href property to the modified search engine url with the target "#_main").
 
Quick search results:

 
 
'Date Me' Quick search button on the HTML component (personal data component)
 
'Date Me' Quick search gadget form (HTML file)