How to configure the Ontolica Search Box external search options

In order to customize Ontolica Search Box external search options one is required to modify the following code from the SearchBox_SearchAsYouType.js javascript file (which can be found C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\Ontolica for the SharePoint English installations):

Ontolica SearchBox Code

by adding a new variable and some new lines to the already defined html variable. For example, if one would like to add AOL as a new external search option one would have to replace the code above with the one specified in the following lines.

Ontolica SearchBox Code

In addition, one would also need to make sure that an aol.png 32×32 pixels icon has been added to the C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\Ontolica\ folder (for the SharePoint English installations).

The last step is clear the cache of the browser and test the newly added functionality.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment