我为Prestashop开发了一个模块,这是__construct()
方法中的信息:
$this->name = 'moduleName';
$this->tab = 'others';
$this->version = '1.0.0';
$this->author = 'programmer name';
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('name');
$this->description = $this->l('description);
但是当我为员工设置权限时,找不到该模块。
模块列表
答案 0 :(得分:0)
尝试添加此
$helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG', 0);
到定义助手的renderForm方法。