#FormBundle
Installation is quick and easy, 5 steps process
- Install GenemuFormBundle
- Enable the bundle
- Minimal configuration
- Initialize assets
Check your Symfony2 version.
Finally, enable the bundle in the kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Genemu\Bundle\FormBundle\GenemuFormBundle(),
);
}
# app/config/config.yml
genemu_form: ~
$ php app/console assets:install web/
You use GenemuFormBundle and you seen that it does not work! Maybe you have forgotten form_javascript or form_stylesheet.
The principle is to separate the javascript, stylesheet and html. This allows better integration of web pages.
View a template example form view
ReCaptcha (Google librairie):
Tinymce (download):
JQueryUi (download):
File (uploadify library):
You can use jcrop to uploadify. You send the image and crop or apply filter.
Image (view demo):
Colorpicker (view demo):
Rating (view demo):
Chosen (view demo):
A Form type that just renders the field as a p tag. This is useful for forms where certain field need to be shown but not editable.
There is maybe bugs in this implementations, this package is just an idea of a form field type which can be very useful for the Symfony2 project.