Jump to content

How to print out all available variables in a tamplate?


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...