I did some modifications and added some extra functions in the file


What should I do to not lose these modifications in a future component update?

  • You mentioned "template" in your question title...was this a mistake? If you don't want to lose the changes you make, you'll have to create a plugin to extend the helper.php from the component
    – Lodder
    Mar 21 '16 at 15:10

If the Helper Class is loaded in a dynamic way, checking if it's already loaded, YES. You can override it.

Not with a HTML overrides, but with a System Plugin. You can create a System plugin, loading same Helper Class before the original one.

Please, check this related question: How to override core classes?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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