I have plenty of theme modifications in my templates, so on each version migration I’m comparing old and new code, but I’m starting to think this is not the best way of working…
Just wondering if we can find a better approach.
Let’s see two cases:
a) A plugin:
You develop a plugin that (for instance) adds a new block to your OJS’ side bar with HTML and styles. In this case, if OJS API is the same, the module will keep running as expected and the new styles (if you fit to a style guide -aka. bootstrap-) will be applied.
b) A dirty hack:
If you fork OJS code, changing the core, on every new release you will need to apply the patch with the modifications, but again… if you fit to an style guide, theming won’t be affected.
Does it make sense? What is your approach?