How to override the "renderFeature()" function? - Forum | JoomShaper
Staff replied Helix Framework

How to override the "renderFeature()" function?

Asked by Ludwig Alberter 1 year ago Last activity 1 year ago

My customer wants to have a different behaviour at the contact info in the top bar. I figured out, that I could amend the contact.php script in the templates' "features" directory. But how to protect it from being overwritten by Helix updates? Is there a way to override this script securely?

2 replies

Ludwig Alberter Asked this

Thanks for the answer - my question was perhaps misleading: I didn't mean to override the JS function itself. I just wanted to protect any changes at the /features/contact.php script. I think I can do this by using a customized header file.

Mehtaz Afsana Borsha Staff

Yes you can use customized header file.

Log in to reply.