EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #02594


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

[EP-tech] Re: Plugins 101


If you're logged into the system as a more-powerful-than-a-normal-user user (e.g. editor or admin), you should be able to see the export options by e.g. doing a search 
Admin->Search Items -> ItemID =1 -> Export results as...
These export options are generated on-the-fly.

...BUT...
You probably want to use 'developer mode' instead :o)
~/bin/epadmin set_developer_mode [ARCHIVE_ID] on

This should mean "The config will be reloaded every request and abstract pages will be generated on demand. Turn this off when you finish development".

Cheers,
John


-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Alan.Stiles
Sent: 04 February 2014 12:51
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Plugins 101

>From the admin->system tools menu you can force the regenerate views and abstracts the next time they are used, or from the shell  (in /opt/eprints3/bin by default) you can run a generate_abstracts <archive_name> <eprintid> to rebuild a specific item.
Alan

-----Original Message-----
From: Andrew Beeken [mailto:anbeeken@lincoln.ac.uk]
Sent: 04 February 2014 12:43
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Plugins 101

@Alan

Ah, that¹s very interesting - is there a way to force a recache? Bearing in mind that this is on a Virtual Box and not a production environment.

On 04/02/2014 12:27, "Alan.Stiles" <Alan.Stiles@open.ac.uk> wrote:

>Also, check where you are looking for your plugin - if it is the public
>facing abstract or view, then bear in mind that these are probably
>static html generated up to 24 hours ago (or at last change for the
>abstract) so you won't see your plugin until they are recreated.
>Try looking at an admin search result for your export plugin.  (Guess
>what I've been playing with recently!)
>
>Alan
>
>-----Original Message-----
>From: John Salter [mailto:J.Salter@leeds.ac.uk]
>Sent: 04 February 2014 12:14
>To: 'eprints-tech@ecs.soton.ac.uk'
>Subject: [EP-tech] Re: Plugins 101
>
>Hi,
>Firstly, from that page:
><EPrints_root>/archives/<archive_name>cfg/plugins/EPrints/Plugin/Export
>should be
><EPrints_root>/archives/<archive_name>/cfg/plugins/EPrints/Plugin/Expor
>t
>(forward slash after archive_name).
>
>Secondly, if you haven't done so already, restart Apache.
>Third, check is that there's nothing untoward in the Apache error log.
>
>If none of that helps, let us know and I'll think on!
>Cheers,
>John
>
>-----Original Message-----
>From: eprints-tech-bounces@ecs.soton.ac.uk
>[mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew
>Beeken
>Sent: 04 February 2014 10:22
>To: eprints-tech@ecs.soton.ac.uk
>Subject: [EP-tech] Plugins 101
>
>Hello all!
>
>Thanks to those who offered assistance to me the other day with setting
>up EPrints in a VirtualBox environment. All working now!
>
>Right, next question ­ I¹ve been following the tutorials on the EPrints
>Wiki, specifically how to write plugins for the system and I have to
>say I¹ve come up against another brick wall. I¹m looking at the Hello
>World Export Tutorial here:
>http://wiki.eprints.org/w/Contribute:_Plugins/ExportPluginsHello.
>
>Having followed the instructions, I¹m not seeing the option in the
>export drop down in EPrints. Is there something I¹m missing?
>
>Andrew Beeken
>
>The University of Lincoln, located in the heart of the city of Lincoln,
>has established an international reputation based on high student
>satisfaction, excellent graduate employment and world-class research.
>
>The information in this e-mail and any attachments may be confidential.
>If you have received this email in error please notify the sender
>immediately and remove it from your system. Do not disclose the
>contents to another person or take copies.
>
>Email is not secure and may contain viruses. The University of Lincoln
>makes every effort to ensure email is sent without viruses, but cannot
>guarantee this and recommends recipients take appropriate precautions.
>
>The University may monitor email traffic data and content in accordance
>with its policies and English law. Further information can be found at:
>http://www.lincoln.ac.uk/legal.
>
>*** 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/
>
>*** 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/
>-- The Open University is incorporated by Royal Charter (RC 000391), an
>exempt charity in England & Wales and a charity registered in Scotland
>(SC 038302).
>
>*** 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/


*** 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/
-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).

*** 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/