Dear Sisay,

Don't know if this is the best way as you requested, but one solution would
be to remove it from the sitemap for your theme.

[dspace-src]/dspace-discovery/dspace-discovery-xmlui-api/src/main/resources/aspects/Discovery/sitemap.xmap

You'll find:
<map:match pattern="">
<map:transform type="FrontPageSearch"/>

Just comment this map:transform and it should work.

Kind regards,
Andre Assada



2011/7/4 Webshet, Sisay (ILRI) <[email protected]>

>  Hi there,****
>
> I am creating a new xmlui theme based on the Mirage theme.  I****
>
> want to remove the search box that appears in the body of the main****
>
> page (not the sidebar search box).  What's the best way to do this?  I****
>
> looked at news-xmlui.xml and dri2html/*.xsl but I can't find where****
>
> this search box is being pulled from.****
>
> ** **
>
> Sisay****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to