Obviously I didn't want that information showing up on the live site so I put in a smarty conditional that checked for a query parameter
Code: Select all
{if $smarty.get.debug eq 1}
//whatever code you want to see here.
{get_template_vars}
{/if}
So
http://www.millipedia.co.uk/stuff/debugging-smarty.html is what your users see but
http://www.millipedia.co.uk/stuff/debug ... ml?debug=1 is what you see.
Hope that's useful to someone.
s.