Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01CB90C8.E11729B9" ------_=_NextPart_002_01CB90C8.E11729B9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This probably sounds counterintuitive for a VuFind instance, but I would = like to remove the search box from all pages. =20 I thought this would be an easy fix by editing the /themes/mytheme/layout= =2Etpl file by "zeroing out" the options after the else statement here: =20 {* We should hide the top search bar and breadcrumbs in some contexts: *= } {if ($module=3D=3D"Search" || $module=3D=3D"Summon" || $module=3D=3D"Worl= dCat") && $pageTemplate=3D=3D"home.tpl"} {assign var=3D"showTopSearchBox" value=3D0} {assign var=3D"showBreadcrumbs" value=3D0} {else} {assign var=3D"showTopSearchBox" value=3D0} =DF------CHANGED HERE {assign var=3D"showBreadcrumbs" value=3D1} {/if} =20 But this option removes nearly all the info in the header. I go from thi= s: =20 =20 =20 To this: =20 =20 =20 Is there a simple method to get rid of the search box/button and advanced= link? =20 Thanks! =20 Kelly =20 Kelly A. Harmon Webmaster, National Agricultural Library 10300 Baltimore Avenue Beltsville, MD 20705 (301) 504-5788 =20 ------_=_NextPart_002_01CB90C8.E11729B9 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

This probabl= y sounds counterintuitive for a VuFind instance, but I would like to remo= ve the search box from all pages.

 

I thought this would be an easy fix= by editing the /themes/mytheme/layout.tpl file by “zeroing outR= 21; the options after the else statement here:

 

{if ($module= =3D=3D"Search" || $module=3D=3D"Summon" || $module=3D= =3D"WorldCat") && $pageTemplate=3D=3D"home.tpl&quo= t;}

=A0=A0=A0 {a= ssign var=3D"showTopSearchBox" value=3D0}

=

=A0=A0=A0 {assign var=3D"showBre= adcrumbs" value=3D0}

{else}

=A0=A0=A0 {assign var=3D"showTopSearchBox" value=3D0}=A0 =DF------CHANGED HERE

=A0=A0=A0 {assign v= ar=3D"showBreadcrumbs" value=3D1}

{/= if}

 

But this= option removes nearly all the info in the header.=A0 I go from this:

 

= 3D1.jpg

 

To this:

 

3D2.jpg

 

Is there a simple method to get rid of the search box/b= utton and advanced link?

 

Thanks!

<= o:p> 

Kelly

 

Kelly A. Harmon

Webmaster, National Agricultural Library

10300 Baltimore Avenue

Beltsville, MD=A0 20705

(301) 504-5788

 

------_=_NextPart_002_01CB90C8.E11729B9--