Disable "Limit To" drop-down and "Filter Your Search" panel in WebVoyage
- Product: Voyager
- Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare
Question
We want the "Limit To" dropdown on the Basic Search Page and also the "Filter Your Search" panel on the search results list to not display in WebVoyage. How can we do that?
Answer
This is a two-step process:
1) Comment out the options in the "Limit To" stanza in webvoyage.properties:
#===============================================
#page.search.limitTo.selected=none
#page.search.limitTo.none=
#page.search.limitTo.none.limit=none
#page.search.limitTo.none.order=1
#page.search.limitTo.none.text=All Material
#page.search.limitTo.2006AndAfter=
#page.search.limitTo.2006AndAfter.limit=Date=2006-
#page.search.limitTo.2006AndAfter.order=2
#page.search.limitTo.2006AndAfter.text=2006 And After
#page.search.limitTo.English=
#page.search.limitTo.English.limit=LANG=ENG
#page.search.limitTo.English.order=3
#page.search.limitTo.English.text=English language materials
#page.search.limitTo.Videos=
#page.search.limitTo.Videos.limit=MEDI=v
#page.search.limitTo.Videos.order=4
#page.search.limitTo.Videos.text=Videos
#==============================================================================#
2) In /css/resultsTitles.css replace the .filters stanza with this code, which includes a new declaration: "display: none;" at the top:
.filters {
display: none ;
width: 20%;
float: right;
background-color: #c9e5ff;
border-top: 1px solid #62b3ff;
border-bottom: 1px solid #62b3ff;
border-left: 0px solid #62b3ff;
border-right: 0px solid #62b3ff;
margin-left: 5px;
margin-right: 0px;
margin-top: 10px;
overflow-y: hidden;
overflow-x: hidden;
}
Note that in the file, you see a lot of other style declarations in the .filters section. You can ignore them--they'll be obviated by the fact that the whole panel will no longer be displayed.
Additional Information
Always make backup copies of your files before editing them. Comment your changes. Test your changes in multiple browsers.
- Article last edited: 20-May-2021