承接 studio1/batch-operation 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

studio1/batch-operation

最新稳定版本:v2.0.1

Composer 安装命令:

composer require studio1/batch-operation

包简介

This bundle extends Pimcore core functionality by adding buttons in asset list view, e.g. to add / replace tags or move selected assets.

README 文档

README

This bundle extends Pimcore core functionality by adding buttons in asset list view, e.g. to add / replace tags or move selected assets.

🛠️ Installation

  1. Download the bundle using composer:
    composer require studio1/batch-operation
  2. Enable the bundle by adding it to config/bundles.php:
    <?php
    // ...
    use Studio1\BatchOperationBundle\BatchOperationBundle;
    
    
    return [
       # Pimcore Bundles
       // ...
       # Studio1 Bundles
        BatchOperationBundle::class => ['all' => true],
        // ...
    ];

📦 Dependencies

This Bundle requires a Pimcore installation and is not stand-alone.

Please see require section of composer.json for dependency details.

THIS PACKAGE NEEDS CHANGES IN PIMCORE-CORE FILES. THOSE ARE APPLIED USING AN INCLUDED PATCH FILE.

🧩 Add buttons to asset list view

Default behaviour

By default, the bundle adds two buttons to the asset list view (even if no configuration in yaml file is done):

  • Add Tags - opens a modal to add tags to selected assets
  • Move - opens a modal to move selected assets to another location

Asset List

Tag Selection

Move

Example configuration

If other (or less) buttons are needed, you need update the configuration in your project accordingly.

batch_operation:
    additional_asset_list_buttons:
        - getS1BatchOperationAssetButtonForTag
        - getS1BatchOperationAssetButtonForMove

How to add additional buttons to asset list view

  1. Add new entry to yaml configuration of your project.
  2. Add new JS file containing the button logic to your project, see files in the following directory as example src/Resources/public/js/pimcore/button-function/asset/.
  3. Ensure new JS file is loaded properly in your project. E.g. by adding it to getJsPaths() method of your project.

🗑️ Uninstall

  1. Remove the bundle from config/bundles.php (see Installation):
  2. Remove the bundle from composer.json:
    composer remove studio1/batch-operation

统计信息

  • 总下载量: 112
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2023-02-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固