Home Look and feel (design) Viewing the variables which are used on the pages
Viewing the variables which are used on the pages
In order to view the variables which are used on the pages there is a debugging console included with Smarty. The console informs you about all the included templates, assigned variables and config file variables for the current invocation of the template.
To enable the debugging console:
- Log in to your administrator panel and click on the Settings link in the ADMINISTRATION side box on the right.
- Select the Template debugging console check box on the opened page and click on the Update button to save the changes.
- Now when you load the page, a JavaScript console window should pop up and give you the names of all the included templates and assigned variables for the current page.
NOTE: In order to display it in the customer area you need to be logged in as the administrator there.
