PKP Bugzilla – Bug 6944
Changes in "Custom Theme" color-settings inherited across journals
Last modified: 2014-08-22 10:32:02 PDT
The plugin writes all changes to the same css file.
Jackie says it best:
"We have a single installation of OJS with multiple journals. Two of the journals would like to use the Custom Theme plugin to set their background colours, however I have discovered that when the second journal manager saves the colours selected in their plugin, this is reflected in the first journal even though the colour selection appears to remain in their journal manager’s setup."
Here's line 113 of CustomThemeSettingsForm.inc.php:
FileManager::writeFile(dirname(__FILE__) . '/custom.css', $css);
Pull request opened (not merged):
Allow for Custom Theme Plugin stylesheet to function per-journal
Thanks for contributing, Clinton!
Allow for Custom Theme Plugin stylesheet to function per-journal rather use the plugin directory (per-site)