Paldru Posted October 30, 2015 Share Posted October 30, 2015 What is the way to list all smarty variables in a template? Do I have to go to a php file to use getTemplateVars() or can it be used inside a tpl file (something like this gives me an error "$smarty. is invalid": {print_r($smarty->getTemplateVars());} ) Link to comment Share on other sites More sharing options...
Paldru Posted October 31, 2015 Author Share Posted October 31, 2015 (edited) To answer my own question: the smarty {debug} tag I tried first and felt was not working actually worked, but the debug output was only visible in the source code of the page, there was no pop up console. Edited October 31, 2015 by Drupalisa (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now