EPrints Technical Mailing List Archive
Message: #03211
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Eprints-tech Digest, Vol 69, Issue 11
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Eprints-tech Digest, Vol 69, Issue 11
- From: Archana Nanda <ananda@thapar.edu>
- Date: Wed, 2 Jul 2014 13:18:53 +0530
Dear All
We are in process of establishing e-prints server for research article repository. We are new to Ubuntu anyhow installed and configured e-prints 3 on Ubuntu 12.04 LTS. Some of values we specified are:
server name (in hostname file): eprints
repository name: ar
host name in repository settings.: ar.localdomain
1. Now the problem is it's accessible at ar.localdomain on the same server and not outside with static ip say n.n.n.n and pointing ar.localdomain in hosts file.
2. Even new logins are not being generated i.e. I think mail is not working. We don't have own institutional mail server but our server is hosted at gmail.
please guide
On Wed, Jun 11, 2014 at 3:28 AM, Eliseo Gatchalian <Eliseo.Gatchalian@wintec.ac.nz> wrote:
Thanks John! You are a life saver! This functionality will be very useful for us....
This code worked:
$c->{plugins}->{"Screen::Staff::EPrintSearch"}->{params}->{extra_fields} = [
{ meta_fields => [ "datestamp" ] },
{ meta_fields => [ "lastmod" ] },
];
Best regards,
Ellis
-----Original Message-----
Message: 3
Date: Tue, 10 Jun 2014 08:38:02 +0100
From: John Salter <J.Salter@leeds.ac.uk>
Subject: [EP-tech] Re: How to add search fields in admin's search
items
To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
Message-ID:
<7154BCBB8909D642AE6F44CA713DBC2008EFB683CC09@HERMES7.ds.leeds.ac.uk">7154BCBB8909D642AE6F44CA713DBC2008EFB683CC09@HERMES7.ds.leeds.ac.uk>
Content-Type: text/plain; charset="utf-8"
Hi,
Which version of EPrints are you using?
We?re on 3.3.10, and have added (to: ~/archives/ARCHIVEID/cfg/cfg.d/eprint_search_advanced.pl) the following:
$c->{plugins}->{"Screen::Staff::EPrintSearch"}->{params}->{extra_fields} = [
{ meta_fields => [ "id_number" ] },
{ meta_fields => [ "documents.license" ] },
];
Which allows us to admin-search these additional fields.
I think that you just need to add ?datestamp? and ?lastmod? ? not the individual parts thereof:
$c->{plugins}->{"Screen::Staff::EPrintSearch"}->{params}->{extra_fields} = [
{ meta_fields => [ "datestamp" ] },
{ meta_fields => [ "lastmod" ] },
];
This: http://wiki.eprints.org/w/API:EPrints/MetaField/Date#Searching might also be useful.
Cheers,
John
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Eliseo Gatchalian
Sent: 10 June 2014 03:44
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] How to add search fields in admin's search items
Hi,
Anyone tried to add fields in the search items page when logged in as admin? We are trying to add datestamp_year, datestamp_month, datestamp_day? and same with lastmod and status_changed?..
I tried to edit EPrintSearch.pm and add the following fields but getting an error that they are not defined as datasets:
{ meta_fields => [ "eprint.datestamp_month" ] }, { meta_fields => [ "eprint.datestamp_day" ] }, { meta_fields => [ "eprint.datestamp_year" ] }, { meta_fields => [ "eprint.lastmod_month" ] }, { meta_fields => [ "eprint.lastmod_day" ] }, { meta_fields => [ "eprint.lastmod_year" ] },
With this added search fields, users from our research office can be able to search items deposited per month or specified dates?
Thanks guys in advanced! ?
Ellis Gatchalian
Systems Librarian
Wintec
Private Bag 3036, Waikato Mail Centre, Hamilton 3240
Phone: +64-(0)7-834 8800 ext 8633
Fax: +64-(0)7-838 8257
Email: ellis.gatchalian@wintec.ac.nz<mailto:ellis.gatchalian@wintec.ac.nz>
Web: http://www.wintec.ac.nz/
[cid:image001.gif@01CF8485.ADB8A5F0]
________________________________
This electronic mail transmission is intended for the named recipients only. It may contain private and confidential information. If this has come to you in error you must take no action based upon it, nor must you copy it or show it to anyone; please telephone or email the sender at Wintec immediately and return the original email. We cannot accept any liability for any loss or damage sustained as a result of software viruses. It is your responsibility to carry out such virus checking as is necessary before opening any attachment which may be included with this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20140610/ddb737e3/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 5148 bytes
Desc: image001.gif
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20140610/ddb737e3/attachment.gif
------------------------------
_______________________________________________
Eprints-tech mailing list
Eprints-tech@ecs.soton.ac.uk
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
End of Eprints-tech Digest, Vol 69, Issue 11
********************************************
*** 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/
--
Archana Nanda
Information Scientist,
Nava Nalanda Central Library,
Thapar University, Patiala.
- References:
- [EP-tech] Re: Eprints-tech Digest, Vol 69, Issue 11
- From: Eliseo Gatchalian <Eliseo.Gatchalian@wintec.ac.nz>
- [EP-tech] Re: Eprints-tech Digest, Vol 69, Issue 11
- Prev by Date: [EP-tech] IRStats2. Google/Google Scholar
- Next by Date: [EP-tech] query regd. hostname
- Previous by thread: [EP-tech] Re: Eprints-tech Digest, Vol 69, Issue 11
- Next by thread: [EP-tech] Multipart metadata
- Index(es):