revision-ten/cms-elements
最新稳定版本:3.0.32
Composer 安装命令:
composer require revision-ten/cms-elements
包简介
A set of content elements for revision-ten/cms
关键字:
README 文档
README
Installation
Install via composer
The preferred method of installation is via Packagist and Composer. Run the following command to install the package and add it as a requirement to your project's composer.json:
composer req revision-ten/cms-elements
Enable the bundle by adding it to your bundles.php:
RevisionTen\CmsElements\CmsElementsBundle::class => ['all' => true], Cocur\Slugify\Bridge\Symfony\CocurSlugifyBundle::class => ['all' => true],
Add the desired elements to your CMS config by importing their configurations.
Example: cms.yaml
imports: - { resource: ../../vendor/revision-ten/cms-elements/Resources/config/vehicle/vehicle_offer.yaml } - { resource: ../../vendor/revision-ten/cms-elements/Resources/config/better_default/all.yaml }
Import the typescript files if needed:
import '../../vendor/revision-ten/cms-elements/Typescript/BetterDefault/all';
Import stylesheets files:
@import '../../vendor/revision-ten/cms-elements/SCSS/BetterDefault/all';
Add additional admin form themes to your projects twig.yaml:
twig: form_themes: - 'CmsElementsBundle:Vehicle:form_theme.html.twig'
List of elements:
Vehicle
- VehicleOffer
- VehicleFinancing
- VehicleEnVKV
- VehicleDatDisclaimer
Better default elements
- Image (requires Lozad.js)
- Images (requires Lozad.js and baguetteBox.js)
- Form
统计信息
- 总下载量: 4.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-02-05