[Dspace-tech] Remove bottom search box completely on DSpace homepage
Dear All I am using dspace 1.8.0 and running Mirage theme, I would like to take out the bottom search box on home page and its text. I have edited messages.xml file on line number 242 - 243 by commenting the lines and refreshing the page but the search box was still available. Any idea is welcomed. Regards, Lewatle htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Remove bottom search box completely on DSpace homepage
On Fri, Oct 5, 2012 at 11:29 AM, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: I am using dspace 1.8.0 and running Mirage theme, I would like to take out the bottom search box on home page and its text. I have edited messages.xml file on line number 242 – 243 by commenting the lines and refreshing the page but the search box was still available. Any idea is welcomed. Hi Lewatle, is this what you're looking for? https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-HowdoIremovethesearchboxfromthefrontpageinXMLUI%3F Regards, ~~helix84 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Remove bottom search box completely on DSpace homepage
Hi Ivan This is what I have in my mytheme.xsl file. ?xml version=1.0 encoding=UTF-8? !-- The contents of this file are subject to the license and copyright detailed in the LICENSE and NOTICE files at the root of the source tree and available online at http://www.dspace.org/license/ -- !-- TODO: Describe this XSL file Author: Alexey Maslov -- xsl:stylesheet xmlns:i18n=http://apache.org/cocoon/i18n/2.1; xmlns:dri=http://di.tamu.edu/DRI/1.0/; xmlns:mets=http://www.loc.gov/METS/; xmlns:xlink=http://www.w3.org/TR/xlink/; xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0 xmlns:dim=http://www.dspace.org/xmlns/dspace/dim; xmlns:xhtml=http://www.w3.org/1999/xhtml; xmlns:mods=http://www.loc.gov/mods/v3; xmlns:dc=http://purl.org/dc/elements/1.1/; xmlns=http://www.w3.org/1999/xhtml; exclude-result-prefixes=i18n dri mets xlink xsl dim xhtml mods dc xsl:import href=../dri2xhtml-alt/dri2xhtml.xsl/ xsl:import href=lib/xsl/core/global-variables.xsl/ xsl:import href=lib/xsl/core/page-structure.xsl/ xsl:import href=lib/xsl/core/navigation.xsl/ xsl:import href=lib/xsl/core/elements.xsl/ xsl:import href=lib/xsl/core/forms.xsl/ xsl:import href=lib/xsl/core/attribute-handlers.xsl/ xsl:import href=lib/xsl/core/utils.xsl/ xsl:import href=lib/xsl/aspect/general/choice-authority-control.xsl/ xsl:import href=lib/xsl/aspect/administrative/administrative.xsl/ xsl:import href=lib/xsl/aspect/artifactbrowser/item-list.xsl/ xsl:import href=lib/xsl/aspect/artifactbrowser/item-view.xsl/ xsl:import href=lib/xsl/aspect/artifactbrowser/community-list.xsl/ xsl:import href=lib/xsl/aspect/artifactbrowser/collection-list.xsl/ xsl:output indent=yes/ /xsl:stylesheet So which file mentioned in the list is applicable? ?frontpage.xsl? Cheers hg On 5 October 2012 12:18, helix84 heli...@centrum.sk wrote: On Fri, Oct 5, 2012 at 11:29 AM, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: I am using dspace 1.8.0 and running Mirage theme, I would like to take out the bottom search box on home page and its text. I have edited messages.xml file on line number 242 – 243 by commenting the lines and refreshing the page but the search box was still available. Any idea is welcomed. Hi Lewatle, is this what you're looking for? https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-HowdoIremovethesearchboxfromthefrontpageinXMLUI%3F Regards, ~~helix84 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- *Hilton Gibson* Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://scholar.sun.ac.za -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Remove bottom search box completely on DSpace homepage
Hi Hilton I will check. Regards, Lewatle From: Hilton Gibson [mailto:hilton.gib...@gmail.com] Sent: 05 October 2012 01:43 PM To: heli...@centrum.sk Cc: Lewatle Phaladi; DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Remove bottom search box completely on DSpace homepage Hi Ivan This is what I have in my mytheme.xsl file. ?xml version=1.0 encoding=UTF-8? !-- The contents of this file are subject to the license and copyright detailed in the LICENSE and NOTICE files at the root of the source tree and available online at http://www.dspace.org/license/ -- !-- TODO: Describe this XSL file Author: Alexey Maslov -- xsl:stylesheet xmlns:i18n=http://apache.org/cocoon/i18n/2.1; xmlns:dri=http://di.tamu.edu/DRI/1.0/; xmlns:mets=http://www.loc.gov/METS/; xmlns:xlink=http://www.w3.org/TR/xlink/; xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0 xmlns:dim=http://www.dspace.org/xmlns/dspace/dim; xmlns:xhtml=http://www.w3.org/1999/xhtml; xmlns:mods=http://www.loc.gov/mods/v3; xmlns:dc=http://purl.org/dc/elements/1.1/; xmlns=http://www.w3.org/1999/xhtml; exclude-result-prefixes=i18n dri mets xlink xsl dim xhtml mods dc xsl:import href=../dri2xhtml-alt/dri2xhtml.xsl/ xsl:import href=lib/xsl/core/global-variables.xsl/ xsl:import href=lib/xsl/core/page-structure.xsl/ xsl:import href=lib/xsl/core/navigation.xsl/ xsl:import href=lib/xsl/core/elements.xsl/ xsl:import href=lib/xsl/core/forms.xsl/ xsl:import href=lib/xsl/core/attribute-handlers.xsl/ xsl:import href=lib/xsl/core/utils.xsl/ xsl:import href=lib/xsl/aspect/general/choice-authority-control.xsl/ xsl:import href=lib/xsl/aspect/administrative/administrative.xsl/ xsl:import href=lib/xsl/aspect/artifactbrowser/item-list.xsl/ xsl:import href=lib/xsl/aspect/artifactbrowser/item-view.xsl/ xsl:import href=lib/xsl/aspect/artifactbrowser/community-list.xsl/ xsl:import href=lib/xsl/aspect/artifactbrowser/collection-list.xsl/ xsl:output indent=yes/ /xsl:stylesheet So which file mentioned in the list is applicable? ?frontpage.xsl? Cheers hg On 5 October 2012 12:18, helix84 heli...@centrum.skmailto:heli...@centrum.sk wrote: On Fri, Oct 5, 2012 at 11:29 AM, Lewatle Phaladi lewatle.phal...@wits.ac.zamailto:lewatle.phal...@wits.ac.za wrote: I am using dspace 1.8.0 and running Mirage theme, I would like to take out the bottom search box on home page and its text. I have edited messages.xml file on line number 242 – 243 by commenting the lines and refreshing the page but the search box was still available. Any idea is welcomed. Hi Lewatle, is this what you're looking for? https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-HowdoIremovethesearchboxfromthefrontpageinXMLUI%3F Regards, ~~helix84 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Hilton Gibson Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://scholar.sun.ac.za htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html-- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net
Re: [Dspace-tech] Remove bottom search box completely on DSpace homepage
On Fri, Oct 5, 2012 at 1:43 PM, Hilton Gibson hilton.gib...@gmail.com wrote: So which file mentioned in the list is applicable? ?frontpage.xsl? Any of them, really. You can even put it in mytheme.xsl just before /xsl:stylesheet if you want. Regards, ~~helix84 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Remove bottom search box completely on DSpace homepage
Is there no structure or generally accepted rules for this sort of thing? A kind of an API maybe? On 5 October 2012 14:21, helix84 heli...@centrum.sk wrote: On Fri, Oct 5, 2012 at 1:43 PM, Hilton Gibson hilton.gib...@gmail.com wrote: So which file mentioned in the list is applicable? ?frontpage.xsl? Any of them, really. You can even put it in mytheme.xsl just before /xsl:stylesheet if you want. Regards, ~~helix84 -- *Hilton Gibson* Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://scholar.sun.ac.za -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Remove bottom search box completely on DSpace homepage
On Fri, Oct 5, 2012 at 2:38 PM, Hilton Gibson hilton.gib...@gmail.com wrote: Is there no structure or generally accepted rules for this sort of thing? A kind of an API maybe? It's really up to you how you structure your XSL customizations (read: your templates in stylesheets). In general, the only thing to pay attention to is whether you're importing or including the xsl file containing the original template because it afects template priorities. But in this case, there's no pre-existing template, so it doesn't matter at all where you define it. An API - it doesn't make sense in this context. There are no function calls involved. Regards, ~~helix84 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Remove bottom search box completely on DSpace homepage
Thanks Ivan. Lewatle did you hack this yet? Let me know off list please. Cheers hg On 5 October 2012 14:47, helix84 heli...@centrum.sk wrote: On Fri, Oct 5, 2012 at 2:38 PM, Hilton Gibson hilton.gib...@gmail.com wrote: Is there no structure or generally accepted rules for this sort of thing? A kind of an API maybe? It's really up to you how you structure your XSL customizations (read: your templates in stylesheets). In general, the only thing to pay attention to is whether you're importing or including the xsl file containing the original template because it afects template priorities. But in this case, there's no pre-existing template, so it doesn't matter at all where you define it. An API - it doesn't make sense in this context. There are no function calls involved. Regards, ~~helix84 -- *Hilton Gibson* Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://scholar.sun.ac.za -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech