如果 PrestaShop 基于 3 层架构 (MVC),那么在主题内呈现 .tpl 文件的控制器的名称是什么?
例如 myProject/themes/default("Prestashop 中的默认主题")/(.tpl 文件)
或者我可以在哪里找到呈现 .tpl 文件的控制器的位置?这样我就可以添加更多聪明的标签?
//Assume this file is the controller that renders the .tpl files in a theme
//I got this code for converting a php value to a smarty tag in creating a module http://doc.prestashop.com/display/PS14/Creating+a+PrestaShop+module
$this->context->smarty->assign(array(
'Hello' => "Hello",
'World' => "World",
'another_smarty_tag' => "Im another smarty tag"
));