serge0design/pimcore-custom-editables

使用这些自定义可编辑集合增强 Pimcore 11,包括自定义颜色选择器和单选组编辑器。

v1.0.0 2024-04-02 11:40 UTC

This package is auto-updated.

Last update: 2024-10-02 12:46:49 UTC


README

使用这些自定义可编辑集合增强 Pimcore 11,包括自定义颜色选择器和单选组编辑器。

Composer 安装

  • 执行: $ composer require serge0design/pimcore-custom-editables

或者将以下代码添加到您的 composer.json

"require": {
    "serge0design/pimcore-custom-editables": "^1.0",
}

将 Bundle 添加到 config/bundles.php

return [
    SergeDesign\PimcoreCustomEditablesBundle\PimcoreCustomEditablesBundle::class => ['all' => true],
];

示例区域

此 Bundle 包含一个示例区域,可在指尖展示所有可用选项。要全面了解此 Bundle 如何在项目中使用,只需将以下提供的 Twig 示例代码集成到模板中。这将显示 Bundle 的使用概述,让您看到功能如何运作以及如何增强您的 Pimcore 体验。

使用示例区域快速开始

要开始,请将以下 Twig 代码片段添加到模板中。这将渲染示例区域,展示 Bundle 的多样性和配置。

{{ pimcore_area('exampleArea', { 'type' : 'example-area'}) }}