• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Template modification execution order change isn't working?

rainmotorsports

Well-known member
#1
1.5.12 haven't upgraded yet. But i think the person I am actually trying to help is on 1.5.13.

I have an addon who has a template mod hooking (well find/replace):
<xen:hook name="thread_view_qr_after" params="{xen:array 'thread={$thread}'}" />

Another addon author is hooking the exact same point. So I though setting my template modification to a lower execution order and the other to a higher (really only should have to adjust one) would cause their orders to change. Lower first higher second. But it doesn't change and flip flopping those values does nothing either.

What am I missing?
 

rainmotorsports

Well-known member
#2
I think I have figured out the issue.

Their addon has it:
"Code"
$0

While my addon has it:
$0
"Code"

So no matter what I am always replacing in the lower position. If i change to their style that inserts ABOVE the hook, then template execution order works.