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

question about templates hook

Discussion in 'General XenForo Discussion and Feedback' started by typostudy, Apr 17, 2013.

Thread Status:
Not open for further replies.
  1. typostudy

    typostudy Member

    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".
  2. Brogan

    Brogan XenForo Moderator Staff Member

    If you wish to receive support, associate your forum user name with your license and post in the appropriate forum.
Thread Status:
Not open for further replies.

Share This Page