KB: All Listings RSS

Filter listings...
https://www.prestashop.com/forums/topic/267135-debug-the-admin/

www.prestashop.com/forums/topic/267135-debug-the-admin/

is it possibly to debug the admin? I want to dump out the smarty variables and see what the page is called? This assumes the admin uses smarty. I can get the debug and console to come up for the front page but not the admin.

This is m ...

Visited95
http://www.prestatraining.com/where-to-start-to-become-a-prestashop-developer-debugging-part-3/

www.prestatraining.com/where-to-start-to-become-a-prestashop...

In this third article, I will talk about how to debug the different programming languages used by PrestaShop.

Visited109
https://www.prestashop.com/blog/en/debugging-tools/

www.prestashop.com/blog/en/debugging-tools/

During the development stage, developers often need to « debug » by posting, for instance, the status of a variable at any given time (t).

Any developer will tell you that all you need to do is use « var_dump() », « ...

Visited83
http://www.webhostinghub.com/help/learn/prestashop-15-tutorials/performance-and-security-15/learning-use-smarty

www.webhostinghub.com/help/learn/prestashop-15-tutorials/per...

The following tutorial explains the use of SMARTY in PrestaShop 1.5

Smarty is the programming language used for templates in PrestaShop. To find more information on SMARTY, you can go here: http://smarty.net . Th ...

Visited80
http://catalogo-onlinersi.net/en/content/18-prestashop-debug

catalogo-onlinersi.net/en/content/18-prestashop-debug

Debugging can be a daunting task, because with so many versions of prestashop modules, third and different hosting platforms, can be an arduous task. This tutorial is to verify that our store does not contain errors, and if I had, try to fix or determi ...

Visited77
http://prestasolve.blogspot.co.uk/2013/02/1.html

prestasolve.blogspot.co.uk/2013/02/1.html

How to Debug in Prestashop, Blank page problem after install Prestashop 1.5 ?

Visited79
http://www.smarty.net/best_practices

www.smarty.net/best_practices

Although Smarty helps facilitate the separation of business logic (PHP) from presentation, that does not mean it prevents poor implementation. No different than any other software, Smarty has a learning curve. Smarty does not guarantee good application ...

Category:Articles
Visited166
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 ...

Visited107
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)

Visited111
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.

Visited134
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.

Visited74
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.
...

Visited86
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 

Visited91
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

Visited87
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?

Visited97
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?

Visited97
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.

Category:Articles
Visited113
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.< ...

Visited205
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 ...

Visited180