Child Theme. Unable to overwrite file from some folders

OJS 3.3.0-15
Hello everyone!

I’m starting to learn how to create a child theme. Some files (for example, from the templates/frontend/pages/file.tpl folder) are overwritten without problems. But I tried to overwrite the /lib/pkp/templates/frontend/components/header.tpl file and nothing changes.
/defaultManuscript/lib/pkp/templates/frontend/components/header.tpl

defaultManuscript/lib/pkp/templates/frontend/components/header.tpl

Same thing with the php file. I want to change the /classes/issue/Issue.inc.php file, so in the child theme I create a document with this path:

/defaultManuscript/classes/issue/Issue.inc.php

Am I specifying the path incorrectly in the child theme?

Sorry if this question has already been raised. I’ve read similar threads but haven’t been able to figure out on my own what I’m doing wrong.

Hi @alexmurphy,

you can leave out the lib/pkp/ in the path, then it should work.

The class must probably be included in the main plugin class, otherwise it will not be loaded.

The issue with header.tpl has been resolved. Thank you for quick answer!