Re: [Dspace-tech] Remove search filter from Discovery
I also want Discover search module up and Browse, My Account module below .. Where I can set that order into XMLUI ? Thanks, Bhavesh Thanks Regards, *Bhavesh R. Patel * - www.bhaveshpatel.info - www.onlinequizportal.com - www.hindisuvichar.com Never leave till tomorrow which you can do today *Please consider the environment before printing this e-mail.* On Thu, Feb 13, 2014 at 2:43 PM, Webshet, Sisay (ILRI) s.webs...@cgiar.orgwrote: Here is attaches a screenshot I want to hide the above search box who has a default value All of CGSPACE. Thanks sisay -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Thursday, February 13, 2014 10:44 AM To: Webshet, Sisay (ILRI) Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Remove search filter from Discovery On Thu, Feb 13, 2014 at 7:58 AM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: The syntax error is corrected, However when I enabled or comment ' aspect.discovery.SimpleSearch.div.discovery-search-box' the page for the element aspect_discovery_SimpleSearch_field_scope will appear. That means I want the page for aspect.discovery.SimpleSearch.div.discovery-search-box' to be viewed and to hide the page for the aspect_discovery_SimpleSearch_field_scope to be hidden. Screenshot again? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Remove search filter from Discovery
Sorry it was my mistake the element id='aspect_discovery_SimpleSearch_field_scope and aspect.discovery.SimpleSearch.div.discovery-search-box are together Thanks Sisay -Original Message- From: Webshet, Sisay (ILRI) Sent: Thursday, February 13, 2014 12:13 PM To: 'heli...@centrum.sk' Cc: 'dspace-tech@lists.sourceforge.net' Subject: RE: [Dspace-tech] Remove search filter from Discovery Here is attaches a screenshot I want to hide the above search box who has a default value All of CGSPACE. Thanks sisay -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Thursday, February 13, 2014 10:44 AM To: Webshet, Sisay (ILRI) Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Remove search filter from Discovery On Thu, Feb 13, 2014 at 7:58 AM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: The syntax error is corrected, However when I enabled or comment ' aspect.discovery.SimpleSearch.div.discovery-search-box' the page for the element aspect_discovery_SimpleSearch_field_scope will appear. That means I want the page for aspect.discovery.SimpleSearch.div.discovery-search-box' to be viewed and to hide the page for the aspect_discovery_SimpleSearch_field_scope to be hidden. Screenshot again? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Remove search filter from Discovery
We are using DSpace 3.2 xmlui version with enabled discovery and I want to remove/hide the search filter. Is there someone a hint on this. Thnask sisay -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Remove search filter from Discovery
On Wed, Feb 12, 2014 at 12:38 PM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: We are using DSpace 3.2 xmlui version with enabled discovery and I want to remove/hide the search filter. Is there someone a hint on this. What part of a page exactly do you mean by search filter? Mark it on a screenshot. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Remove search filter from Discovery
Since you already know how to find its element name and attribute value, you already know how to disable any element: https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-HowdoIremovethesearchboxfromthefrontpageinXMLUI? Here's what you asked for: xsl:template name=disable_discovery-filters1 match=dri:div[@id='aspect.discovery.SimpleSearch.div.search-filters'] /xsl:template xsl:template name=disable_discovery-filters2 match=dri:div[@id='aspect.discovery.SimpleSearch.div.discovery-filters-wrapper'] /xsl:template xsl:template name=disable_discovery-filters3 match=dri:div[@id='aspect.discovery.SimpleSearch.div.iscovery-search-box'] /xsl:template In addition, you will want to remove the link: xsl:template name=disable_discovery-filters-link match=dri:xref[@target='display-filters'] /xsl:template Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Remove search filter from Discovery
Thanks Helix, Though I see some error like org.xml.sax.SAXParseException: Element type xsl:template must be followed by either attribute specifications, or /. context:/jndi:/localhost/xmlui/themes/CGSPACE/lib/xsl/core/page-structure.xsl - 436:48 I will read more on xslt sisay -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Wednesday, February 12, 2014 3:22 PM To: Webshet, Sisay (ILRI) Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Remove search filter from Discovery Since you already know how to find its element name and attribute value, you already know how to disable any element: https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-HowdoIremovethesearchboxfromthefrontpageinXMLUI? Here's what you asked for: xsl:template name=disable_discovery-filters1 match=dri:div[@id='aspect.discovery.SimpleSearch.div.search-filters'] /xsl:template xsl:template name=disable_discovery-filters2 match=dri:div[@id='aspect.discovery.SimpleSearch.div.discovery-filters-wrapper'] /xsl:template xsl:template name=disable_discovery-filters3 match=dri:div[@id='aspect.discovery.SimpleSearch.div.iscovery-search-box'] /xsl:template In addition, you will want to remove the link: xsl:template name=disable_discovery-filters-link match=dri:xref[@target='display-filters'] /xsl:template Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Remove search filter from Discovery
On Wed, Feb 12, 2014 at 2:24 PM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: org.xml.sax.SAXParseException: Element type xsl:template must be followed by either attribute specifications, or /. context:/jndi:/localhost/xmlui/themes/CGSPACE/lib/xsl/core/page-structure.xsl - 436:48 It should work just as I pasted it. You probably made some syntactic error. Make sure to put it inside xsl:stylesheet but outside any xsl:template (xsl:template cannot be nested). From the message it seems like you put something else than attributes (name, match) after the xsl:template element opening before the closing bracket (). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Remove search filter from Discovery
Thanks it works! -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Wednesday, February 12, 2014 4:58 PM To: Webshet, Sisay (ILRI) Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Remove search filter from Discovery On Wed, Feb 12, 2014 at 2:24 PM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: org.xml.sax.SAXParseException: Element type xsl:template must be followed by either attribute specifications, or /. context:/jndi:/localhost/xmlui/themes/CGSPACE/lib/xsl/core/page-struct ure.xsl - 436:48 It should work just as I pasted it. You probably made some syntactic error. Make sure to put it inside xsl:stylesheet but outside any xsl:template (xsl:template cannot be nested). From the message it seems like you put something else than attributes (name, match) after the xsl:template element opening before the closing bracket (). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Remove search filter from Discovery
Thanks The syntax error is corrected, However when I enabled or comment ' aspect.discovery.SimpleSearch.div.discovery-search-box' the page for the element aspect_discovery_SimpleSearch_field_scope will appear. That means I want the page for aspect.discovery.SimpleSearch.div.discovery-search-box' to be viewed and to hide the page for the aspect_discovery_SimpleSearch_field_scope to be hidden. Thanks Sisay -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Wednesday, February 12, 2014 4:58 PM To: Webshet, Sisay (ILRI) Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Remove search filter from Discovery On Wed, Feb 12, 2014 at 2:24 PM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: org.xml.sax.SAXParseException: Element type xsl:template must be followed by either attribute specifications, or /. context:/jndi:/localhost/xmlui/themes/CGSPACE/lib/xsl/core/page-struct ure.xsl - 436:48 It should work just as I pasted it. You probably made some syntactic error. Make sure to put it inside xsl:stylesheet but outside any xsl:template (xsl:template cannot be nested). From the message it seems like you put something else than attributes (name, match) after the xsl:template element opening before the closing bracket (). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Remove search filter from Discovery
On Thu, Feb 13, 2014 at 7:58 AM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: The syntax error is corrected, However when I enabled or comment ' aspect.discovery.SimpleSearch.div.discovery-search-box' the page for the element aspect_discovery_SimpleSearch_field_scope will appear. That means I want the page for aspect.discovery.SimpleSearch.div.discovery-search-box' to be viewed and to hide the page for the aspect_discovery_SimpleSearch_field_scope to be hidden. Screenshot again? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette