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.


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


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!