thelia/easy-customer-manager-module
最新稳定版本:2.0.1
Composer 安装命令:
composer require thelia/easy-customer-manager-module
包简介
EasyCustomerManager module for Thelia
README 文档
README
Add a short description here. You can also add a screenshot if needed.
Installation
Manually
- Copy the module into
<thelia_root>/local/modules/directory and be sure that the name of the module is EasyCustomerManager. - Activate it in your thelia administration panel
Composer
Add it in your main thelia composer.json file
composer require thelia/easy-customer-manager-module:~1.0
Usage
Once activated, you will see a new menu link in Thelia's Back Office. This new page allows you to easly manage all cutsomers thanks to filters and search bars. This module uses Datables.
Events
You can use 2 events to add filters to this module :
BeforeFilterEvent::CUSTOMER_CUSTOMER_BEFORE_FILTER
TemplateFieldEvent::CUSTOMER_CUSTOMER_TEMPLATE_FIELD
In BeforeFilterEvent you have access to the customer query and request.
In TemplateFieldEvent you can use the function addTemplateField(fieldName, templateName)
to add a template with your new filter in it. You just need to add js-filter-element class to your filter input.
Make sure that fieldName is one of the column names defined in BackController defineColumnsDefinition() of this module.
统计信息
- 总下载量: 546
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2021-03-24