smile/ezee-sectionformfield-bundle

Section Field for eZ Studio Form Builder

1.0.2 2017-03-03 09:26 UTC

This package is auto-updated.

Last update: 2024-10-17 10:01:51 UTC


README

SensioLabsInsight

Add new eZStudio Form Field named Section to organize Form Fields.

This new Field is not really a Form Field, just a Form section delimiter.

Installation

Get the bundle using composer

Add SmileEzEESectionFormFieldBundle by running this command from the terminal at the root of your eZStudio project:

composer require smile/ezee-sectionformfield-bundle

Enable the bundle

To start using the bundle, register the bundle in your application's kernel class:

// ezpublish/EzPublishKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Smile\EzEESectionFormFieldBundle\SmileEzEESectionFormFieldBundle(),
        // ...
    );
}

Add assetic

{% stylesheets filter='cssrewrite'
    ...
    'bundles/smileezeesectionformfield/css/smileform_section.css'
%}
    <link rel="stylesheet" type="text/css" href="{{ asset_url }}">
{% endstylesheets %}