Is there a way to replace templates without change core files?


I would like to change templates files without mess up with core files.

I tried to create a similar template folder structure within my custom theme folder but does not work.

For instance:

MyTheme > templates > user > profile.tpl

Any reference or links to help me?


Hi @marlonlamancio,

The approach you describe will be available starting with OJS 3.0 / OMP 1.2:

In the meantime, you’ll need to use hooks to override built-in templates; see plugins/generic/counter/ for an example of how the COUNTER plugin does this.

Alec Smecher
Public Knowledge Project Team

I found this reference but in User Interface section does not explain and Smarty Templates site are off

The Smarty documentation has moved here:

wow you are really fast!

Thank you for your reply.