Debugging Smarty

Debugging Smarty when you need too.

http://www.smarty.net/docsv2/en/chapter.debugging.console.tpl

www.smarty.net/docsv2/en/chapter.debugging.console.tpl

There is a debugging console included with Smarty. The console informs you of all the included templates, assigned variables and config file variables for the current invocation of the template. A template file named debug.tpl is included with the dist ...

Visited117
http://www.smarty.net/forums/viewtopic.php?p=80179&sid=beefca853a86821088bca60f289c2cc2

www.smarty.net/forums/viewtopic.php?p=80179&sid=beefca853a86...

I would like to make sure that getTemplateVars () only returns the templatevars from the last fetch(). Now if a request results in two fetches getTemplateVars also returns the global_tpl_vars created in the previous template.
...

Visited94
http://www.smarty.net/docs/en/api.get.template.vars.tpl

www.smarty.net/docs/en/api.get.template.vars.tpl

getTemplateVars() — returns assigned variable value(s)

Visited119
http://www.smarty.net/forums/viewtopic.php?t=11435

www.smarty.net/forums/viewtopic.php?t=11435

i wan to print all value which is store in an array like print_r() function 

Visited99
http://stackoverflow.com/questions/2431763/how-to-debug-variables-in-smarty-like-in-php-var-dump

stackoverflow.com/questions/2431763/how-to-debug-variables-i...

I have some variables inside a template and I don't know where I assigned them. I need to know what is inside a particular variable; for instance, say I have a variable in smarty called member. I tried with but it didn't work, and no popup was shown.< ...

Visited213
http://www.smarty.net/forums/viewtopic.php?p=85157

www.smarty.net/forums/viewtopic.php?p=85157

This links is more about the existance of the modifier debug_print_var

Visited95
http://stackoverflow.com/questions/11799652/how-to-get-all-assigned-smarty-variables-while-running-the-template

stackoverflow.com/questions/11799652/how-to-get-all-assigned...

I would like to get all variables assigned to Smarty inside the template.

This is a forum thread dealing with this topic.

Visited82
http://stackoverflow.com/questions/716916/print-all-variables-available-in-a-smarty-template

stackoverflow.com/questions/716916/print-all-variables-avail...

How do you print all variables available in the context of a Smarty template?

This is a forum thread dealing with this topic.

Visited148
http://www.smarty.net/forums/viewtopic.php?p=53011

www.smarty.net/forums/viewtopic.php?p=53011

does anyone know how to set a global smarty variable from within an include?

Visited106
http://www.smarty.net/forums/viewtopic.php?p=67503

www.smarty.net/forums/viewtopic.php?p=67503

Is there a way to show the full variable name in the debug console?

Visited106
http://www.electrictoolbox.com/var-dump-print-r-inside-smarty-template/

www.electrictoolbox.com/var-dump-print-r-inside-smarty-templ...

While trying to debug why something wasn't working, I needed to see what data had been assigned to a Smarty template but from within the template itself (I didn't have time to try and work out where in the PHP code the stuff was assigned and debug from ...

Visited191
http://forum.whmcs.com/showthread.php?28386-smarty-template-value-on-action-hook

forum.whmcs.com/showthread.php?28386-smarty-template-value-o...

If anyone here can tell me how to access the smarty $template value (also the same as the &systpl= value) via an action hook, I'd appreciate it.

Visited122