[Dspace-tech] Remove bottom search box completely on DSpace homepage

2012-10-05 Thread Lewatle Phaladi
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

This 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.
--
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

2012-10-05 Thread helix84
On Fri, Oct 5, 2012 at 11:29 AM, Lewatle Phaladi
 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

2012-10-05 Thread Hilton Gibson
Hi Ivan

This is what I have in my  file.
>>>




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">



















>>>

So which file mentioned in the list is applicable?
?frontpage.xsl?
Cheers

hg

On 5 October 2012 12:18, helix84  wrote:

> On Fri, Oct 5, 2012 at 11:29 AM, Lewatle Phaladi
>  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

2012-10-05 Thread Lewatle Phaladi
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  file.
>>>




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">



















>>>

So which file mentioned in the list is applicable?
?frontpage.xsl?
Cheers

hg

On 5 October 2012 12:18, helix84 
mailto:heli...@centrum.sk>> wrote:
On Fri, Oct 5, 2012 at 11:29 AM, Lewatle Phaladi
mailto: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<mailto: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


This 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.--
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

2012-10-05 Thread helix84
On Fri, Oct 5, 2012 at 1:43 PM, Hilton Gibson  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
 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

2012-10-05 Thread Hilton Gibson
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  wrote:

> On Fri, Oct 5, 2012 at 1:43 PM, Hilton Gibson 
> 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
>  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

2012-10-05 Thread helix84
On Fri, Oct 5, 2012 at 2:38 PM, Hilton Gibson  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

2012-10-05 Thread Hilton Gibson
Thanks Ivan.

Lewatle did you hack this yet?
Let me know off list please.

Cheers

hg

On 5 October 2012 14:47, helix84  wrote:

> On Fri, Oct 5, 2012 at 2:38 PM, Hilton Gibson 
> 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