Hello again,
I have tried creating child theme for defaultManuscript (which is already a child theme for default one) per @ajnyga 's advice (to preserve changes more easily thru future theme/ojs upgrades).
I followed @NateWr guide here and it works for the most part - new child theme shows up in the Settings/Website/Appearance and all but once I select and save - front end breaks. It looks as if there is no style sheet applied to it. I’m pretty sure index.php and version.xml are not to blame. My guess is that I failed to set parent theme properly.
Could someone more experienced look into this and tell me what I did wrong?
Copy of my *Plugin.inc.php file below:
<?php
import('lib.pkp.classes.plugins.ThemePlugin');
class tomsChildThemePlugin extends ThemePlugin {
public function init() {
$this->setParent('DefaultManuscriptChildThemePlugin');
/**
* Modifications below
* $this->
*/
/**
* Theme name & description
*/
function getDisplayName() {
return 'ToMS';
}
function getDescription() {
return 'Child theme of defaultManuscript.';
}
}
?>
Thank you.
P.S. Template cache was cleared after applying theme (and any modificiation)