Difference between revisions of "EdShareCollectionsInstallation"

From EPrints Documentation
Jump to: navigation, search
m (add categories)
 
(65 intermediate revisions by 6 users not shown)
Line 1: Line 1:
==Introduction==
 
The collections module is part of [[OneShare]]. It is based on code developed in EdShare and OneBox. The goal of this project is to produce a package that allows the easy installation of the collections functionality on a vanilla EPrints installation.
 
  
==Installation==
+
EdShare on EPrints 3.2 is no longer available to download.
  
===Install CGI Scripts===
 
Link the collections CGI scripts to the EPrints CGI directory:
 
  
ln -s /opt/eprints3/archives/ARCHIVEID/cgi/collectionselect/ /opt/eprints3/cgi/
+
'''The latest version of the fully supported EdShare, running on EPrints 3.3, is only available from EPrints Services.'''
  
===Edit Core Files===
 
  
====perl_lib/EPrints/Plugin/Screen/EPrint.pm====
+
Please visit http://www.eprints.org/uk/index.php/openeducation/ for further information or email K.Terrell@soton.ac.uk
Look for the workflow subroutine in this file and comment out the following line:
 
  
$self->{processor}->{$cache_id} = EPrints::Workflow->new( $self->{session}, "default", %opts );
 
  
Then add in the following two lines:
+
[[Category:Obsolete]]
 
+
[[Category:EdShare]]
my $workflow_id = $self->workflow_id;
+
[[Category:Eprints3.2]]
$self->{processor}->{$cache_id} = EPrints::Workflow->new( $self->{session}, $workflow_id, %opts );
 
 
 
Finally after the workflow subroutine add the following subroutine;
 
 
 
sub workflow_id
 
{
 
        return 'default';
 
}
 
 
 
 
 
==Files==
 
* archives/ARCHIVE_ID/cfg/plugins/EPrints/Plugin/Collection.pm - This is the main extension of [[API:EPrints/DataObj/EPrint | EPrints::DataObj::EPrint]] to make a collection object.
 
* perl_lib/EPrints/Plugin/InputForm/Component/Field/CollectionSelect.pm - This is the input form component that is used to populate a collection. This should perhaps be moved into the archive directory and symbolically linked into the perl_lib directory, this prevents requiring any major changes to the EPrints core.
 
 
 
==Packaging Notes==
 
Please take note of the following notes when moving from the original collections module to the repackaged version.
 
 
 
* EPrints::Plugin::InputForm::Component::Field::CollectionSelect
 
** get_state_params_OLD has been removed from this version.
 

Latest revision as of 00:25, 12 September 2018

EdShare on EPrints 3.2 is no longer available to download.


The latest version of the fully supported EdShare, running on EPrints 3.3, is only available from EPrints Services.


Please visit http://www.eprints.org/uk/index.php/openeducation/ for further information or email K.Terrell@soton.ac.uk