I wrote a new plugin called "ZipEditingFiles" that
works on OJS v2.1.1.
It is available at
http://www.msu.edu/user/harris41/ojsplugins/
Question 1)
Is there a archive where OJS plugins might be stored for perusal by the
community?
Question 2)
I found that while hooking in extra functionality, it was advantageous
to update some of the text on the templated interface pages (to
be more coherent with what was happening with the adjusted transaction).
The two simple ways of doing this, that I found, were to either
manually edit a .tpl file, or to adjust the OJS locale.xml
file. Is it possible to dynamically substitute the values in the
locale.xml with the plugin's locale.xml values (override
submission.supplementaryFiles or other message keys)?
How to do this? Would this go against the OJS system design?
Question 3)
I am a newbie at OJS plugins (and not much of a PHP guy),
so I would appreciate any pointers as to areas for
coding improvement. Thanks in advance.
FYI, a motivation for this ZipEditingFiles plugin was to allow all users
of the editing phase to alter supplemental files, and to
have changed versions of the supplemental files be stored.
A secondary advantage of this plugin is that the zip feature minimizes
disk usage on the server. In general, I might suggest that the
OJS paradigm of a main submission file and extraneous supplemental files
may not optimally cover all usage cases. That's probably a second
thread though to this e-mail.
Scott