[EP-tech] Re: Plugins 101

Andrew Beeken anbeeken at lincoln.ac.uk
Tue Feb 4 14:28:15 GMT 2014


Cracked it! The plugin was using this as the path:

package EPrints::Plugin::Export::MyPlugins::HelloExport;


When it should have been:

package EPrints::Plugin::Export::HelloExport;




On 04/02/2014 12:27, "Alan.Stiles" <Alan.Stiles at 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 at leeds.ac.uk]
>Sent: 04 February 2014 12:14
>To: 'eprints-tech at 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/Export
>(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 at ecs.soton.ac.uk
>[mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Andrew Beeken
>Sent: 04 February 2014 10:22
>To: eprints-tech at 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/




More information about the Eprints-tech mailing list