Hi Lucy,
Assuming you want to edit the homepage search box, the file you want is [dspace-src]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/home.jsp Find the line: <p><input type="text" name="query" size="20" id="tquery" /> (it should be at about line 121) You can then add a value="Enter some text in the box below to search Dspace" attribute to the input tag to do what you want. If your repository uses the multi-language feature, then you'll want to use something like value="<fmt:message key="jsp.general.search.prompt"/>" instead, and create jsp.general.search.prompt entries in the relevant Messages.properties files. I hope that helps, Stuart Lewis Digital Services Programmer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz <http://www.library.auckland.ac.nz/> / From: [email protected] [mailto:[email protected]] On Behalf Of Lucy Wang Sent: Tuesday, 21 April 2009 1:35 a.m. To: DSpace Tech; DSpace General Subject: [Dspace-general] [Dspace-tech] can not find the file for the searchbox in the middle Hi All, I am working on DSpace 1.5.1 with JSP on Windows. I would like to customize the page for the search box in the middle with "Enter some text in the box below to search DSpace." I spend quite a time and still can not find the location of this file. Please help me out. Thanks in advance. Lucy
_______________________________________________ Dspace-general mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/dspace-general
