Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DependencyInjection
Resources
LICENSE
README.md
SmileEzEEPhoneFormFieldBundle.php
composer.json

README.md

SmileEzEEPhoneFormFieldBundle

SensioLabsInsight

Add new eZStudio Form Field named Phone displaying select field with country list

Installation

Get the bundle using composer

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

composer require smile/ezee-phoneformfield-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\EzEEPhoneFormFieldBundle\SmileEzEECountryFormFieldBundle(),
        // ...
    );
}

Add assetic

{% javascripts
    ...
    'bundles/smileezeephoneformfield/js/smileform_phone.js'
%}
   <script type="text/javascript" src="{{ asset_url }}"></script>
{% endjavascripts %}
You can’t perform that action at this time.