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

question about templates hook

Not open for further replies.
I am trying this tutorial: Creating a add-on to insert tabs in profile page (using hooks)

I got some questions:

1. Step 5 - The Code Event Listeners:
AdminCP>Development>Code Event Listeners, one field called 'Callback Execution Order':
what does this mean?
2. Step 6 - Our file Listener.php
$contents .= '<li><a href="{$requestPaths.requestUri}#ourTab">Our Tab</a></li>';
for '{$requestPaths.requestUri}', is this xenforo variable? where can I see all the variables that I can use in xenforo?
3. Step 14 - Lets use them!
where can I see the defination of these functions/methods?
4. Step 15 - Pre loading templates
why we need this step? it seems the codes still work even we do not have "template_create".


XenForo moderator
Staff member
If you wish to receive support, associate your forum user name with your license and post in the appropriate forum.
Not open for further replies.