smile / ezee-sectionformfield-bundle
为 eZ Studio Form Builder 设计的 Section 字段
1.0.2
2017-03-03 09:26 UTC
Requires
- php: ~5.6|~7.0
- ezsystems/ezpublish-kernel: ~6.8
- ezsystems/ezstudio-form-builder: ~1.1
This package is auto-updated.
Last update: 2024-09-17 09:45:47 UTC
README
向 eZStudio Form Field 添加名为 Section 的新字段以组织表单字段。
这个新字段实际上不是一个表单字段,仅作为表单字段分隔符。
安装
使用 composer 获取此包
在 eZStudio 项目的根目录下,运行以下命令添加 SmileEzEESectionFormFieldBundle
composer require smile/ezee-sectionformfield-bundle
启用包
要开始使用该包,请将包注册到您的应用程序的 kernel 类中
// ezpublish/EzPublishKernel.php public function registerBundles() { $bundles = array( // ... new Smile\EzEESectionFormFieldBundle\SmileEzEESectionFormFieldBundle(), // ... ); }
添加 assetic
{% stylesheets filter='cssrewrite'
...
'bundles/smileezeesectionformfield/css/smileform_section.css'
%}
<link rel="stylesheet" type="text/css" href="{{ asset_url }}">
{% endstylesheets %}