Content-type: multipart/alternative; boundary="Boundary_(ID_qCZZnbNIc5a5uqlVRb/CuA)" --Boundary_(ID_qCZZnbNIc5a5uqlVRb/CuA) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT The search box is found in a separate template file: web/interface/themes/[your chosen theme]/Search/searchbox.tpl. You have two options for getting rid of the search box - either edit searchbox.tpl itself to remove all of its content, or else find and remove all references to searchbox.tpl in layout.tpl. Note that when I say "remove," I really mean "comment out" - if you surround things with "{*" at the front and "*}" at the back, you can hide them without actually deleting the text - this is useful for disabling things that you might want to bring back later. Let me know if you still need help! - Demian From: Harmon, Kelly [mailto:Kelly.Harmon@ARS.USDA.GOV] Sent: Tuesday, November 30, 2010 2:58 PM To: vufind-general@lists.sourceforge.net Subject: [VuFind-General] Want to Remove Search Box This probably sounds counterintuitive for a VuFind instance, but I would like to remove the search box from all pages. I thought this would be an easy fix by editing the /themes/mytheme/layout.tpl file by "zeroing out" the options after the else statement here: {* We should hide the top search bar and breadcrumbs in some contexts: *} {if ($module=="Search" || $module=="Summon" || $module=="WorldCat") && $pageTemplate=="home.tpl"} {assign var="showTopSearchBox" value=0} {assign var="showBreadcrumbs" value=0} {else} {assign var="showTopSearchBox" value=0} <--------CHANGED HERE {assign var="showBreadcrumbs" value=1} {/if} But this option removes nearly all the info in the header. I go from this: [cid:image006.jpg@01CB90A2.5A3A6830] To this: [cid:image007.jpg@01CB90A2.5A3A6830] Is there a simple method to get rid of the search box/button and advanced link? Thanks! Kelly Kelly A. Harmon Webmaster, National Agricultural Library 10300 Baltimore Avenue Beltsville, MD 20705 (301) 504-5788 --Boundary_(ID_qCZZnbNIc5a5uqlVRb/CuA) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: quoted-printable

The search box is found = in a separate template file: web/interface/themes/[your chosen theme]/Search/searchbox.tp= l.=A0 You have two options for getting rid of the search box – either edit searchbox.tpl itself to remove all of its content, or else find and remove = all references to searchbox.tpl in layout.tpl.

 =

Note that when I say = 220;remove,” I really mean “comment out” – if you surround things with= “{*” at the front and “*}” at the back, you can hide them without actually deleting the text – this is useful for disabling things that= you might want to bring back later.

 =

Let me know if you still= need help!

 =

- Demian

 =

From: Harmon, Kelly [mailto:Kelly.Harmon@ARS.USDA.GOV]
Sent: Tuesday, November 30, 2010 2:58 PM
To: vufind-general@lists.sourceforge.net
Subject: [VuFind-General] Want to Remove Search Box

 

This probably sounds counterintuitive for a VuFind ins= tance, but I would like to remove the search box from all pages.

 

I thought this would be an easy fix by editing the /themes/mytheme/layout.tpl file by “zeroing out” the options af= ter the else statement here:

 

{* We should hide the t= op search bar and breadcrumbs in some contexts: *}

{if ($module=3D=3D"Search" || $module=3D=3D"Summon" || $module=3D=3D"WorldCat") &= & $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}

 

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

 

3D1.jpg

 

To this:

 

3D2.jpg

 

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

 

Thanks!

 

Kelly

 

Kelly A. Harmon

Webmaster, National Agricultural Library

10300 Baltimore Avenue

Beltsville, MD  20705

(301) 504-5788

 

--Boundary_(ID_qCZZnbNIc5a5uqlVRb/CuA)--