Home | Docs  
 
 
   
  Categories




Home
  -  Design and Layout  - 
Smarty debug console

Smarty debug console


Smarty template debug console can be used while editing template files. It clearly demonstrates the tree of the processed template files.You can enable the template debug console by selecting the ‘Template debugging console’ check box (on the "Settings" page in the SP-Cart admin panel).

To see Smarty debug console in the storefront, you need to be logged in as an administrator.

 

 

 

The Smarty template debug console includes the following parameters:

  • included template and config files (load time in seconds) - this section includes the information about the processed template files, so you can better orient yourself in the template structure. Also you see the load time, which can be of use for optimization.

 

  • assigned template variables (displays Smarty variables assigned by user)

 

  • assigned config file variables (outer template scope) - this section displays predefined Smarty variables
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     
              << Read Previous                                                                                                        Read Next>>
     
Copyright © 2009 SP-CART.COM. All Rights Reserved.