Tuesday, June 11, 2013

how to debug variables in smarty like php var_dump

Just write this in the tpl file

{$your_var|@debug_print_var} 

No comments:

Post a Comment