Koha How-To
Customizing the More Searches Menu on the OPAC in Koha
Here is a short tutorial video about how to customize the More Searches Menu on the OPAC in Koha. There are also step by step instructions on how to do this below.
Here are some step by step instructions for adding a new search:
- On the OPAC side of Koha, do a search.
- The option for “More Searches” is found on the right hand side of the full description of the book.
- There is a drop down menu for all the searches that are set up in your System Preferences.
- To add a new search or to remove a search- go to the staff side of Koha.
- Go to the administrative module.
- Under Global System Preferences- OPACsearchfortitle
- Here you can see the system preference: OPACsearchfortitle and you can click to edit.
- Editng this system preference will show a text box with the searches that are set up.
- To add a new link- go to that site and enter a search.
- Grab the website link from that website and the search you did.
- For example: https://openlibrary.org/search?q=book here is the link I captured in the video with my search of book.
- Enter
<li><a href=”website here” target=”_blank”>Open Library</a></li>
<li><a href=”https://openlibrary.org/search?q=book” target=”_blank”>Open Library</a></li>
- Next you will need to replace the search with the language it provided in the System Preferences notes. Since I searched a title “book” I will remove book and insert {TITLE} including the brackets.
- The final product should look like this:
<li><a href="https://openlibrary.org/search?q={TITLE}” target=”_blank”>Open Library</a></li>
- Save OPAC Preferences.
- Go back to OPAC and refresh the screen.
- Now the Open Library should be in the More Searches drop down.
Here are step by step instructions on how to just remove an option in the More Searches:
(Start at Step 5 from above)
- On the staff side, go to the administrative module.
- Under Global System Preferences- OPACsearchfortitle
- Here you can see the system preference: OPACsearchfortitle and you can click to edit.
- To remove a link, delete the entire line starting at the <li and the line that ends with the /li>
Here are step by step instructions on how to remove all the options for More Searches:
- On the staff side, go to the administrative module.
- Under Global System Preferences- OPACsearchfortitle
- Here you can see the system preference: OPACsearchfortitle and you can click to edit.
- Delete everything in this box.
Read more by Kelly McElligott