I using prestashop 1.6 and I have some variable in my index.tpl like as $aslist that I Don't know where this variable is defined or assigned!
I need to find this variable and do some change over that.
anybody know how can I find a solution that show where smarty variables assigned ?
I need to a address file like as:
$aslist assigned in .\www\controllers\front\CmsController.php - (line 58 )
You can add this function to
config/config.inc.phpEdit:
$trace[1]should be used instead of$trace[2]And then search for the smarty
assignmethod and modify it to something like this: I found it in/tools/smarty/sysplugins/smarty_internal_data.phpOutput example: