OJS version tested: 3.3.0-23
Already have these updated working files but can’t see where to attach them:
lib/pkp/controllers/grid/users/author/form/PKPAuthorForm.inc.php
lib/pkp/templates/controllers/grid/users/author/form/authorForm.tpl
Description
When adding contributors to a submission, it would be useful to have an autocomplete dropdown that allows editors to select an author who has previously contributed to the journal.
Currently, contributor details must be entered manually for each submission, even when the same authors publish multiple articles in the journal. This creates unnecessary repetitive work and increases the risk of inconsistent author information.
Proposed functionality
Add an autocomplete field to the contributor form that searches previously used authors within the current journal.
When an editor selects an existing author, OJS would automatically populate the available fields with the author’s saved information:
Given name
Last name
Preferred public name
Affiliation
Country
Email address
URL
ORCID iD
Biography (Bio Statement). The biography field should support the existing rich-text editor.
The contributor’s role should default to Author, while remaining editable so that other roles, such as Translator, can be assigned when appropriate.
Editors should also retain the ability to enter a completely new contributor manually.
Scope and implementation
The autocomplete should search contributors previously associated with submissions in the current journal, rather than users across unrelated journals hosted on the same OJS installation.
Ideally, this functionality should be available both when adding contributors through the standard submission workflow and when using the QuickSubmit plugin.
Benefits
Reduces repetitive data entry.
Improves consistency of contributor metadata across publications.
Reduces errors in names, affiliations, ORCID iDs, and biographies.
Speeds up editorial and journal-management workflows.
This would be particularly useful for journals that regularly publish work by the same contributors.
Do you mean that you’ve made modifications to these files that incorporate these changes? And thus incorporate the changes that you’re requesting, and you’re just unsure on how to attach them to the post?
Thank you so much to you and the team for developing OJS! I’m using it for a new journal and really appreciate your work.
You’re right - I do have those changes, but I’m not sure how to attach the files here.
Of course, there’s always room for improvement. For example, the current implementation displays multiple records with different IDs for the same author. It could be improved by displaying only the record with the highest ID.
@gennady - thanks for your kind words and for clarifying about the code modifications. If you’re proposing a change that you think addresses a problem, you should do it as a pull request by forking the relevant repository, and showing our dev team the proposed code that way: Public Knowledge Project · GitHub
Our developers then review those requests and determine whether such changes can be effectively integrated into the codebase. Sometimes, depending on the functionality being proposed, it is more suited to a plugin, which our devs will let you know whether or not this is suitable.
If you have the ability and know-how to contribute code, I strongly suggest reviewing our documentation on how to best go about that: https://docs.pkp.sfu.ca/dev/contributors/
But, if you are wondering about a feature request, and haven’t quite arrived at a proposed solution, it is probably best to post it as a feature request here. Additionally, with Feature Requests
We also request those posting feature requests follow a particular format (noted below): You have much of the correct information for following our feature request format, it just needs to be adjusted to match this structure:
Describe the problem you would like to solve
Example: Our editors need a way to […]
Describe the solution you’d like
Tell us how you would like this problem to be solved.
Who is asking for this feature?
Tell us what kind of users are requesting this feature. Example: Journal Editors, Journal Administrators, Technical Support, Authors, Reviewers, etc.
Additional information
Add any other information or screenshots about the feature request here.
When adding contributors to submissions in OJS, entering the same author details repeatedly can become tedious. I put together a small enhancement that lets you select an author from previous submissions and automatically populate their details in the Add Contributor form.
The current implementation retrieves previously used authors and allows you to populate fields such as first name, last name, affiliation, country, email, and other available author details. The idea is to reduce repetitive data entry and make the submission workflow a little more convenient.
A few notes about the current state:
Developed and tested on OJS 3.3.0-23.
Published as a working prototype under GPL v3.
Currently implemented by modifying two existing OJS files, so it is not yet a standalone plugin.
There is room for improvement. For example, the dropdown may show multiple records for the same author when they have different IDs. Ideally, it would display only the most recent record.
I’ve included both the original and modified files in the repository to make the changes easier to review.
You can find the code and a screenshot here:
I’d welcome feedback, suggestions, and volunteers willing to test it. If anyone is interested in helping develop this further or exploring a proper plugin implementation, that would be great too!
Thanks for your further explanation, but I think there’s been some confusion. The repository you’ve created appears to be two modified pages taken from the core code of OJS - it doesn’t follow the structure and necessary requirements for a plugin (for example, see here. If you are just proposing code modifications to the core code, that is more suited to a pull request, directly to the relevant code files within [pkp-lib] (although, depending on the nature of the changes it might be a different repository.
It could also be accompanied by an Issue on Github: Issues · pkp/pkp-lib · GitHub where you explain your proposed improvements, and then create a pull request to the main PKP repository where the modified code files are maintained. Our developers may advise that such changes are better to a plugin, in which case you might need to develop the plugin (and follow the protocols laid out in our documentation:. I hope this clarifies things further? Do let me know if you have additional questions.