clubmaster / formextra
ClubMaster form extra.
Installs: 675
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 3
Open Issues: 0
Language:JavaScript
Type:symfony-bundle
Requires
- php: >=5.3.2
README
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
That will add a slideshow for you.
TYPEAHEAD
To use typeahead, your controller must follow this pattern:
$result = array( array( 'value' => 'Meh' ) );
new JsonResponse($result);