That’ll be possible exactly as you describe starting with OJS 3.0 and OMP 1.2, but for OJS 2.x, you’ll need to do a little more coding. Have a look at the referral plugin for how it overrides templates using the TemplateManager::… hooks; it’s in plugins/generic/referral/ReferralPlugin.inc.php.
Regards,
Alec Smecher
Public Knowledge Project Team
One of our main goals with OJS 3.0 was to overhaul and improve the front end, making it easier to write and maintain themes. I hope you’ll be pleasantly surprised.
Regards,
Alec Smecher
Public Knowledge Project Team
Would you mind expanding upon the technique to override templates in OJS 2 themes? I had a look at the referral plugin but couldn’t work out how to apply it to my own theme. Is it an actual override or can you only change variables ie. can HTML be added/removed/changed or not? Would there be a tutorial anywhere I could follow?
I have a theme working but I would like to be able to rearrange things a little.
And one specific question - is it possible to do something like move the Citation Format plugin output HTML to the Article HTML? (I could do it with absolute positioning but that’s pretty hacky and bad practice).
We will be upgrading to OJS 3 at some point but I have a deadline to get this done soon.