ClubMaster form extra.

Installs: 669

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 3

Open Issues: 0



3.0 2016-04-12 05:24 UTC

This package is not auto-updated.

Last update: 2024-07-20 12:49:47 UTC


In order to use the module:

composer.phar require clubmaster/formextra

When installed add the following to your AppKernel.php file:

new Club\FormExtraBundle\ClubFormExtraBundle(),

If you want to use the forms, remember to add this to your config.yml:

Twig Configuration

twig: debug: "%kernel.debug%" strict_variables: "%kernel.debug%" form: resources: - "ClubFormExtraBundle:Default:fields.html.twig"

Of you can just add the following to the top of your template: {% form_theme form 'ClubFormExtraBundle:Default:fields.html.twig' %}

Remember if you use the tinymce form, you will properly want to disble form validation:

Added html slider:

  • Demo 1
  • Demo 2
  • Demo 3
<script src="bundles/clubformextra/js/slideshow.css"></script>

That will add a slideshow for you.


To use typeahead, your controller must follow this pattern:

$result = array( array( 'value' => 'Meh' ) );

new JsonResponse($result);



<script type="text/javascript" src="{{ asset('bundles/clubformextra/js/handlebars-v2.0.0.js') }}"></script> <script type="text/javascript" src="{{ asset('bundles/clubformextra/js/typeahead.bundle.js') }}"></script> <script type="text/javascript" src="{{ asset('bundles/clubformextra/js/typeahead.js') }}"></script>