Hi, I need delete Prefix and Subtitle from submission process, as these fields are optional I have no problems if I comment this lines (like below), but how can I keep this changes? I try to incorporate it in a Theme in template folder but I think Themes can’t modify the backend, so maybe I need to create a little plugin? Do you have any little example for this?
the modifications I made are in this file: submissionMetadataFormTitleFields.tpl commenting some lines whit * like this:
With commented code is perfect to me, but if I can I keep this modified file (submissionMetadataFormTitleFields.tpl) in a plugin, and the backend read this modified file instead of the original one, this could work… but I don’t know if plugins work in this way, as a theme.
Themes can modify the templates in the backend as well, though we often discourage this because we “break” compatibility in the backend more frequently than the frontend.
You should be able to override that template file by including a copy of it in your theme under /your-theme-name/templates/submission/submissionMetadataFormTitleFields.tpl.
I understand, my change is totally compatible… but I have try before this way to override and I try again now and is not possible, the form only change when I change the “official” file, not with the theme, and of course reload, clear cache from OJS and manually…
I am using in my machine for proofs OJS 3.1.1.0, maybe your introduce some changes in news version? do you remember some issue about change backend from a theme?
Update: I upgrade to 3.1.1-2 and is the same thing… not working. I am using defaultManuscript for made tests, so in this theme, I add a submission folder with submissionMetadataFormTitleFields.tpl file but I think is not reading this file
Customizing the submission form for metadata is one of the most frequent requests from our journal editors. Prefix, Subtitle, headings about “Dublin core” or “Additional Refinements” are unnecessary clutter for most submitting authors. Also, so ordering of the fields seems sometimes unusual (keywords are often found below abstracts). So we overwrite the standard submission template using a theme plugin (see screenshot). However, this requires some programming knowledge and overwriting backend templates is generally not recommended.
Thus, a more easy way to custumize the submission form would be a great enhancement for future OJS versions.
Our theme is adapted to our plattform (PsychOpen) und very specific in functions and layout and thus most probably not suitable to your needs:
However, to overwrite the standard submission templates you only need to add the modified submission templates to your theme plugin (as described by NateWr above). You can find the modified submission templates we use here:
It is crucial to use the correct path when you add these files to your theme plugin: