EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #02358
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] {Disarmed} Re: Re: last additions rather than latest
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] {Disarmed} Re: Re: last additions rather than latest
- From: Derek Lawrie <d.lawrie@nua.ac.uk>
- Date: Thu, 31 Oct 2013 12:37:44 +0000
Hi Seb,
That makes sense but my current page isn't outputting the "default" citation (lib/citations/eprint/result.xml) because that file does not exist. I do have a result.xml in archives/<id>/cfg/citations/eprint/result.xml
but it can't be using that one either as it iterates out as tables cells and my page is div and span based. So id my page isn't using either of those citations, what is it using (the mode in latest_tool.pl is exactly as you said)?
Again I'm not sure if I'm making sense?
Thanks
Derek
Derek Lawrie
Web Developer and Administrator T: 01603 751498 | Ext: 6498 w: MailScanner has detected a possible fraud attempt from ":" claiming to be www.nua.ac.uk Norwich University of the Arts, Francis House, 3-7 Redwell Street, Norwich, NR2 4SN
From: Sebastien Francois <sf2@ecs.soton.ac.uk>
Reply-To: Eprints <eprints-tech@ecs.soton.ac.uk> Date: Thursday, October 31, 2013 11:49 AM To: Eprints <eprints-tech@ecs.soton.ac.uk> Subject: [EP-tech] Re: last additions rather than latest Hello,
From lib/defaultcfg/cfg.d/latest_tool.pl: $c->{latest_tool_modes} = { default => { citation => "result" } }; # Example of a latest_tool mode. This makes a mode=articles option # which only lists eprints who's type equals "article". # # articles => { # citation => undef, # filters => [ # { meta_fields => [ "type" ], value => "article" } # ], # max => 20 # } You can see the "default" mode uses the "result" citation (i.e. lib/citations/eprint/result.xml). (but don't change this file directly, change your local copy in archives/<id>/cfg/cfg.d/latest_tool.pl instead). Seb. On 31/10/13 11:42, Derek Lawrie wrote:
Rated top Specialist Arts Institution in the UK (National Student Survey 2013) and best Specialist Institution in Art and Design (Complete University Guide 2014) Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the University. This email and any files sent with it are intended only for the named recipient and may be confidential. If you are not the named recipient please email the sender immediately then delete this message. You should not disclose the content, distribute or retain any copies of this message. Norwich University of the Arts, Francis House, 3-7 Redwell Street, Norwich, NR2 4SN. Tel: 01603 610561 Fax: 01603 615728 www.nua.ac.uk NUA Business Limited Registered office: Francis House, 3-7 Redwell Street, Norwich, NR2 4SN. Registered in England & Wales number 3001912 |
- Prev by Date: [EP-tech] Re: last additions rather than latest
- Next by Date: [EP-tech] Re: {Disarmed} Re: Re: last additions rather than latest
- Previous by thread: [EP-tech] Permissions for eprints bazaar
- Next by thread: [EP-tech] Re: {Disarmed} Re: Re: last additions rather than latest
- Index(es):