EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09782
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] "Configuring Distinct Input Forms for Multiple Archives in Shared Hosting Setup"
- To: eprints-tech@ecs.soton.ac.uk
- Subject: Re: [EP-tech] "Configuring Distinct Input Forms for Multiple Archives in Shared Hosting Setup"
- From: Mosys Consultancy Services Pvt Ltd <mosyssw@gmail.com>
- Date: Wed, 24 Jul 2024 17:59:16 +0530
*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_ListHi Sudharsan,
If you have multiple archives that need different input forms (referred to as workflows in EPrints). Then you need to create the following directory path under each archive and then copy the generic default workflow for items (eprints):
cd EPRINTS_PATH/archives/ARCHIVE_ID
mkdir - p cfg/workflows/eprint/
cp EPRINTS_PATH/flavours/pub_lib/workflows/eprint/default.xml cfg/workflows/eprint/You can then start editing the file EPRINTS_PATH/archives/ARCHIVE_IDcfg/workflows/eprint/default.xml allowing you to have a different one for each archive. However, as these files are new the webserver will not have then loaded so will not update them when they change. So once you have all these workflow files in place be sure to test that everything is OK a reload Apache:
EPRINTS_PATH/bin/epadmin test
apachectl graceful
Then you should be able to make changes to the workflow and as soon as you save them, if you reload the form you should see the changes you have made. However, if you do not it is a good idea to repeat the above to make sure nothing is wrong and be 100% sure the changes have been loaded. Also the xmllint command [1] is useful to check that (XML) workflow files are syntactically correct.
Regards
David Newman
[1] https://helpmanual.io/help/xmllint/
On 24/07/2024 07:28, Techsupport Mosys wrote:
CAUTION: This e-mail originated outside the University of Southampton.CAUTION: This e-mail originated outside the University of Southampton.Dear Team,We have a base installation (version 3.4.4) and aim to set up multiple archives. For instance, we plan to offer shared hosting services to various organizations. We've installed 5 different archives but noticed that all the archives share the same input forms for adding items. We need distinct input forms for each archive.
What files need to be copied, and what configuration changes should be made in the archives folder to achieve this?
ThanksSudharsan
*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List *** Archive: https://www.eprints.org/tech.php/ *** EPrints community wiki: https://wiki.eprints.org/
*** Archive: https://www.eprints.org/tech.php/
*** EPrints community wiki: https://wiki.eprints.org/
- References:
- [EP-tech] "Configuring Distinct Input Forms for Multiple Archives in Shared Hosting Setup"
- From: Techsupport Mosys <techsupport@mosys.org>
- Re: [EP-tech] "Configuring Distinct Input Forms for Multiple Archives in Shared Hosting Setup"
- From: David R Newman <drn@ecs.soton.ac.uk>
- [EP-tech] "Configuring Distinct Input Forms for Multiple Archives in Shared Hosting Setup"
- Prev by Date: Re: [EP-tech] Ask about search result and reindex
- Next by Date: [EP-tech] Bots - Server Resources
- Previous by thread: Re: [EP-tech] "Configuring Distinct Input Forms for Multiple Archives in Shared Hosting Setup"
- Next by thread: Re: [EP-tech] "Configuring Distinct Input Forms for Multiple Archives in Shared Hosting Setup"
- Index(es):