php - How to override a view that have includes in smarty / prestashop? -


i have override module view in custom theme. copied tpl want override in right directory contains lots of {include file="./[filename].tpl" } , smarty fails smarty: unable load template. seems fair, since files wants include not in theme override.

copy dozens of file single line cosmetic override seems way dirty me.

is there way can override single tpl without have copy included files in theme?

maybe change paths of include files are:

{include file="$module_dir.[tpl_dir]/[filename].tpl"} 

Comments