Jump to content
Wiki Home
EPrints Home
Bazaar
Files
Main menu
Main menu
move to sidebar
hide
Navigation
Front Page
EPrints 3 Manual
EPrints Training Course
EPrints Glossary
Installing EPrints
How-to Configure EPrints
EPrints 3.2+ API
EPrints 3 Reference
EPrints Plugins
Wiki
All categories
Recent changes
Main Page
Help
EPrints Documentation
Search
Search
Appearance
Log in
Request account
Personal tools
Log in
Request account
Pages for logged out editors
learn more
Contributions
Talk
Editing
EPrints Glossary
(section)
Page
Discussion
British English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Site lib === Creating a directory in the [[#EPrints path|EPrints path]] with the name ''site_lib'', will allow you modify [[#Core codebase|core code and configuration]], which will apply to all of the [[#Archive|archives]] in your [[#Repository|repository]]. If you are running EPrints version 3.4+, be sure to also add ''site_lib'' to your [[#Flavour|flavour's]] [[#Inc file|inc file]]. Sometimes you may need modify the functionality of files in the core codebase but you don't want to change them, as this will involve having to merge any future changes when you upgrade [[#EPrints repository software|EPrints repository software]]. This is particularly useful if you need to modify a non-plugin code file, ([[#Plugin|plugin]] files can be [[Instructions_for_local_plugins|overridden]] by [[#Archive level|archive level]] versions), E.g. ''[[API:EPrints/Repository|perl_lib/EPrints/Repository.pm]]'', which can simply be copied to ''site_lib/EPrints/plugins/Repository.pm'' rather than modifying it in place. However, when you do upgrade EPrints, you will still need to reconcile any updates to the ''perl_lib/'' version of this file with your version in ''site_lib/plugins/''. This will be a much more straightforward task, (than if you had just modified the version in ''perl_lib/''), as both files will still be in place to compare. One particular use of ''site_lib'' is for inter-version patches from [https://github.com/eprints/eprints3.4|EPrints' GitHub]. As when it comes to an upgrade, the versions of the files in ''site_lib/plugins/'' can just be removed, as their modifications will be present in their ''perl_lib/'' equivalents.
Summary:
Please note that all contributions to EPrints Documentation may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
EPrints Documentation:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)