3

What is the 'civi' approach to customising templates and php files? (if this question is a duplicate very happy to remove. I just searched for one after reading Error Message Customization

2 Answers 2

2

Am sure others will provide a more substantive answer but going to start just with a link to this wiki page since I had it handy

2

The 'Civi approach' towards customising templates and php files would be to create an extension with your customizations. How to do that can be read on this wiki page

An extension is basically an additional bit of software that you switch on in CiviCRM and adds stuff to CiviCRM or customizes parts.

That is the recommended approach. You can also customize core templates and put them in your customized directory as the link from petednz explained (and the same for php files). This is however an approach that can throw up problems when upgrading. Extensions might not be compatible with upgraded versions either, but can simply be switched on and off.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.