XF 2.2 Template modification not working (after addon upgrade)

mjda

Well-known member
I have a template modification for PAGE_CONTAINER that finds:

Code:
#({{ phrase\('extra_copyright'\) }})#si

and calls:

Code:
Vendor\AddOn\Callback::alter

The template modification is working fine, but only until I upgrade the add-on. When I upgrade the add-on, the template modification stops working unless I go to the PAGE_CONTAINER template and "Save" it. I don't have to actually change anything in the template. I just have to save it. Once saved, the template modification starts working again.

I'm assuming this has something to do with some kind of cache, but I really have no idea.

Is there something I can do, or do differently, so that this template modification will work without me having to go in and manually "save" the PAGE_CONTAINER template?
 
Top Bottom