1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

FireTemplate Template Debugger

Discussion in 'Add-on Releases [Archive]' started by Darren Gordon, Oct 29, 2010.

  1. Darren Gordon

    Darren Gordon Member

    Last week Kier posted a video entitled What variables do I have to work with in the templates? showing how you can use PHP debugging tools to find out the values that are being sent to templates.

    This inspired me to write this simple addon to automate the whole process for you.

    FireTemplate sorts out and sends all of the template variables to the console in FireFox, allowing you to see what was sent to the templates and what the values were. Simply install FireTemplate; ensure you have FireFox with Firebug and FirePHP; enable debug, and visit a page.

    It also works for AJAX :)

    Here's a screenshot to demonstrate:

    firetemplate.jpg

    Note: Requires XenForo 1.0.0 Beta 3.


    Have fun!
     

    Attached Files:

  2. Kier

    Kier XenForo Developer Staff Member

    Extreme awesomeness :)
     
    fattony69, Darkimmortal and Jeremy like this.
  3. CyberAP

    CyberAP Well-Known Member

    Would like to see this working in opera or chrome :) Nice plugin!
     
  4. Kier

    Kier XenForo Developer Staff Member

    Just as soon as Firebug works on those then...
     
  5. simbolo

    simbolo Well-Known Member

    Very cool Darren, I'll give that a go ;)
     
  6. simbolo

    simbolo Well-Known Member

    Chrome has firebug lite. Once I have the add-on installed, I'll let you know if it works with this add-on. :)
     
  7. Kier

    Kier XenForo Developer Staff Member

    It doesn't, and I had to disable Chrome's Firebug Lite because it did horrendous things to various sites' Javascript.
     
  8. Miko

    Miko Well-Known Member

    Thank you Darren for the great little tool!
     
  9. simbolo

    simbolo Well-Known Member

    :( That's what I came to realize as well. Unfortunate.
     
  10. Darren Gordon

    Darren Gordon Member

    Uploaded a final 1.0.0.

    Changes introduced in Beta 3 means that no hacking is required. Just install and use :)
     
    CyberAP likes this.

Share This Page