smile / ezee-phoneformfield-bundle
Phone Field for eZ Studio Form Builder
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 9
Forks: 1
Open Issues: 0
Type:ezstudio-bundle
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-10-17 09:31:05 UTC
README
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 %}