Hi, I've done a lot of stuff by customizing my propel object forms and filters generation, so you should be able to customize files that are provide by the tasks propel:build-forms and propel:build-filters, but this is not an easy way, sorry.
Note that propel forms and filters are generated helping symfony PHP generator system, and have nothing except models from Propel. First step is to create an new task that extends the current task (by example propel-extended:build-forms or propel:build-extended-forms). At this point you can already add some arguments to manage later, as a --theme argument (I were doing that just to give abilities to set the theme files for generator) that you can pass to the generator manager. At second step, especially because the current generator does not used theme (most generators can already manage different theme, but in this case, the generator does not care about the "theme" parameter), you must create a new generator that extends the current one. At this point, you will be able to have your own theming, and, one of the most important thing, your own way to manage widgets, validators and them options (that was my first purpose, especially to not generate updated_at and created_at as date input). As I told earlier, this is not an easy way, but it does really more that you expect. For example, I've customized the propel filters generation to automatically provide a "Search" field that look for the given string in every varchar fields of the model. Loops PS : If you wish some sample files and structure, just let me know. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---
