cedriclombardot/AdmingeneratorGeneratorBundle — Issue #35: Own fields?
Author: suncat2000
Created: 2011-10-31 13:45:33+00:00
State: open

Hi
Sorry for my english...
Decided to try AdmingeneratorBundles (installed AdmingeneratorIpsum). Decided use in one of my project, but can not figure out how to use own fields in EditForm.
I use Doctrine ORM.
For example:
In db has field: text_type (string)
it can be: ​​html or text.
How to describe this field in generator.yml, to the EditForm that the form contains a field select (
html
text
). After submit form in db save selected value ('html' or 'text')...

And if not difficult. Help to figure out:
1. How to add the File field.
2. How to add a visual editor (wysiwyg) for text field