XF 1.0 Dynamic Template Modifications


Well-known member
I apply the same template modification to n + 3 templates. 3 of the templates come from the core, the rest from add-ons. The templates all follow the same naming convention so I can get a list of them at any time no matter how many add-ons add these templates.

The problem is that I don't know how to dynamically apply template modifications. So I can't modify any templates without knowing their name ahead of time, which is not really dynamic and causes a few headaches. Is this possible to do dynamically and if so how?

p.s. I have to modify the pre-rendered template contents exactly the way the template modification system does.