Another example of using the Heading= option:
Some sites would prefer not to have a drop-down list of search screens on their OPAC search screen. Instead they want a link to their advanced search screen.
To do this, modify MyQueries.config as follows:
To remove the drop-down list showing the search screens, edit the following section to comment out the opac_search screen, as shown below
<!-- ** Note: Use special TextbaseName="Opac" to specify the screens listed in the opac.aspx -->
<inmg:QueryScreens TextbaseName="Opac">
<inmg:QueryScreen Name="simple_opac_search"></inmg:QueryScreen>
<!-- <inmg:QueryScreen Name="opac_search"></inmg:QueryScreen> -->
</inmg:QueryScreens>To add the link to the advanced search screen, add the Heading= parameter to the first line of the simple_opac_search screen as follows.
<inmg:QueryScreen Name="simple_opac_search" Title="Simple Catalog Search" BrowseButtonText=" Browse " BooleanAnd="AND" BooleanOr="OR" BooleanNot="NOT" Heading="Catalog<p><a href="/InmagicGenie/opac.aspx?QueryScreen=opac_search">Advanced Search</a>">Make the corresponding change to the opac_search screen to add a link back to the simple search screen.
No comments:
Post a Comment