Dear Gary,
You need to make changes in two configuration files and create a new one
(current dspace git master version has already what you want - dspace 4.1
doesn't, so you need it to copy it somehow):
1) Go to "dspace/config/spring/api/requestitem.xml" and change the following
line
<bean class="org.dspace.app.requestitem.RequestItemMetadataStrategy"
id="org.dspace.app.requestitem.RequestItemAuthorExtractor">
to this one:
<bean class="org.dspace.app.requestitem.RequestItemHelpdeskStrategy"
id="org.dspace.app.requestitem.RequestItemAuthorExtractor">
2) Create a file at path
"dspace-api/src/main/java/org/dspace/app/requestitem/RequestItemHelpdeskStra
tegy.java" and copy the contents from this URL inside the file:
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/ds
pace/app/requestitem/RequestItemHelpdeskStrategy.java
3) Go to "dspace/config/dspace.cfg" file and add at the end the last lines
from the following file:
https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg
You will see the "REQUEST ITEM CONFIGURATION" section at the end, copy it as
it is in your cfg file.
4) From the aforementioned lines, change "request.item.helpdesk.override"
option to true, and also, provide the helpdesk email for option
"mail.helpdesk".
Rebuild, ant update and you are done!
Regards,
Kostas
-----Original Message-----
From: Gary Browne [mailto:[email protected]]
Sent: Tuesday, September 02, 2014 9:59 AM
To: dspace-tech Tech
Subject: [Dspace-tech] Request a copy
Hi all,
DSpace version: 4.1
UI: JSP
Servlet container: Tomcat 7
Server: RHEL 6.5 64-bit
Java: OpenJDK 1.7
Is it possible to have the "Request a copy" button send to a DSpace
administrator email address only, rather than to the item owner? If so,
where would I configure/code/hack this?
Thanks,
Gary
GARY BROWNE | Development Programmer
Library IT Services | Fisher Library F03
THE UNIVERSITY OF SYDNEY
T +61 2 9351 5946 | M +61 405 647 868 E [email protected] | W
http://sydney.edu.au Sent from my plain old desktop computer.
CRICOS 00026A
This email plus any attachments to it are confidential. Any unauthorised use
is strictly prohibited. If you receive this email in error, please delete it
and any attachments.
Please think of our environment and only print this e-mail if necessary.
----------------------------------------------------------------------------
--
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette