Hi Andre,
Iam not using Discovery. I just get the file at
[dspace-src]/dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects/ArtifactBrowser/sitemap.xmap.
Delete the following transformer:
<map:transformer name="FrontPageSearch"
src="org.dspace.app.xmlui.aspect.artifactbrowser.FrontPageSearch"/>
And delete the following transform:
<map:transform type="FrontPageSearch"/>
did and make mvn -U clean package and ant update
Thanks
sisay
From: kesapo...@gmail.com [mailto:kesapo...@gmail.com] On Behalf Of André
Sent: Tuesday, July 05, 2011 4:13 PM
To: Webshet, Sisay (ILRI)
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] remove the search
Dear Sisay,
Are you using Discovery with your customized theme? The modification I sent
before would work for Discovery.
You should modify your theme's specific sitemap. If you're not sure where it
is, you could do a grep 'FrontPageSearch' and verify the code of the files you
find. Maybe this is the one:
[dspace-src]/dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects/ArtifactBrowser/sitemap.xmap
Let me know if this works.
Kind regards,
Andre Assada
2011/7/5 Webshet, Sisay (ILRI) <s.webs...@cgiar.org>
Hi Andre,
I just did and make mvn -U clean package and ant update but doesn't work.
Is there something I missed.
Thanks
sisay
From: kesapo...@gmail.com [mailto:kesapo...@gmail.com] On Behalf Of André
Sent: Monday, July 04, 2011 5:01 PM
To: Webshet, Sisay (ILRI)
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] remove the search
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) <s.webs...@cgiar.org>
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
DSpace-tech@lists.sourceforge.net
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech