Bug 6944 - Changes in "Custom Theme" color-settings inherited across journals
Changes in "Custom Theme" color-settings inherited across journals
Status: NEW
Product: OJS
Classification: Unclassified
Component: Plug-ins
2.4.x
All All
: P3 normal
Assigned To: PKP Support
http://pkp.sfu.ca/support/forum/viewt...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-02 15:46 PDT by Joseph Daddario
Modified: 2013-09-09 17:03 PDT (History)
3 users (show)

See Also:
Version Reported In:
Also Affects:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Daddario 2011-11-02 15:46:09 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);