EPrints Technical Mailing List Archive

Message: #02601


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: remove "request a copy"


Hello,

By editing archives/<id>/cfg/citations/eprint/summary_page.xml, you can remove (or comment out) the block that displays request a copy altogether.

    <epc:if test="length($docs) = 0">
      <epc:phrase ref="page:nofulltext" />
<epc:if test="$item.contact_email().is_set() and eprint_status = 'archive'"> (<a href="{$config{http_cgiurl}}/request_doc?eprintid={eprintid}"><epc:phrase ref="request:button" /></a>)
      </epc:if>
    </epc:if>

Seb.


On 05/02/14 14:07, stof999@cmdt.ch wrote:
hello

we imported some 36000 publications from a foreign system into our
eprint (boris.unibe.ch) repository, using a special import user as
depositing user.
in the foreign system were no full text stored, so the imported eprint
also do not have a full text.

now there are a lot of "request a copy" demands for this eprints,
which we can't support. so we like to remove the "request a copy" link
for this eprint, doing this by remove the email adress for the import
user.

according to the source code there should no "request" link be showed
when there is no contact_email AND no email of the depositing user.
but the request link will now only be removed when the eprint is
edited and stored.

is there a way to force this change?

thanks a lot.
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/