XF 2.0 question about finding templates in xf2

electrogypsy

Well-known member
in xf1 i was using this javascript code as a bookmark in my browser to find out what xf template i was currently viewing:

JavaScript:
javascript:(function() {XenForo.alert($('#content').attr('class'), '', 5000);}())

pretty convenient, as i just click it and it shows me what template i was seeing. anyone know how i could adapt this to xf2? it doesn't seem to work with it as-is.

thanks!
 
Create a new bookmark:
29071826968_7fb97a8de7_o.png

And then open it in your xf tab:
41134101370_098c3d4d04_o.png

@electrogypsy If you've activated debug mode, there's a gear icon in the bottom right corner. Hover over it:

41134117860_267e9df203_o.png
 
Most people who need this, shouldn’t be running debug mode. Generally people do it to identify templates to edit on their live site so not recommended to have debug mode enabled in that case.

Obviously possible to have it locked down per IP address in config.php but if it’s anything like my internet connection where I seem to have a new IP address every day then that’s just hassle :)
 
Top Bottom