[symfony-users] Re: how to use generator.yml
As everyone else said, generator.yml is a configuration file that is only valid to configure modules created with the doctrine:generate- admin [applicationName] [modelName] command (or its Propel counterpart). That being said, you can invoke generate-admin to create configurable admins in any application - frontend, backend, whatever you wish. If your site is simple enough that basic CRUD operations are enough to satisfy your requirements, it's entirely possible to create it only using generated admins. Just be sure to add some sort of authentication and access controls (for obvious reasons) and you're golden. If you need more info about how to customize your generator.yml file, I highly recommend Day 12 of the Jobeet tutorial - it's really broad ;) http://www.symfony-project.org/jobeet/1_2/Doctrine/en/12 Regards, Thiago On Mar 31, 6:37 am, sachin jain jainsachi...@gmail.com wrote: how to use generator.yml in frontend --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: how to use generator.yml
On Tue, Mar 31, 2009 at 11:37 AM, sachin jain jainsachi...@gmail.comwrote: how to use generator.yml in frontend :) -- Paolo Mainardi CTO Twinbit Blog: http://www.paolomainardi.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: how to use generator.yml
On Tue, Mar 31, 2009 at 11:43 AM, sachin jain jainsachi...@gmail.comwrote: Its in french I need to know how to use generatoir.yml in frontend not to backend What you mean ? On Tue, Mar 31, 2009 at 3:10 PM, Paolo Mainardi paolomaina...@gmail.comwrote: On Tue, Mar 31, 2009 at 11:37 AM, sachin jain jainsachi...@gmail.comwrote: how to use generator.yml in frontend :) -- Paolo Mainardi CTO Twinbit Blog: http://www.paolomainardi.com -- Paolo Mainardi CTO Twinbit Blog: http://www.paolomainardi.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: how to use generator.yml
Its in french I need to know how to use generatoir.yml in frontend not to backend On Tue, Mar 31, 2009 at 3:10 PM, Paolo Mainardi paolomaina...@gmail.comwrote: On Tue, Mar 31, 2009 at 11:37 AM, sachin jain jainsachi...@gmail.comwrote: how to use generator.yml in frontend :) -- Paolo Mainardi CTO Twinbit Blog: http://www.paolomainardi.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: how to use generator.yml
The generator.yml file allows on-the-fly configuration of the generated admin only. You cannot use it to automatically render a frontend website which I think is what you might be expecting. Please elaborate on your query and someone might be able to help you. Steve 2009/3/31 Paolo Mainardi paolomaina...@gmail.com On Tue, Mar 31, 2009 at 11:43 AM, sachin jain jainsachi...@gmail.comwrote: Its in french I need to know how to use generatoir.yml in frontend not to backend What you mean ? On Tue, Mar 31, 2009 at 3:10 PM, Paolo Mainardi paolomaina...@gmail.comwrote: On Tue, Mar 31, 2009 at 11:37 AM, sachin jain jainsachi...@gmail.comwrote: how to use generator.yml in frontend :) -- Paolo Mainardi CTO Twinbit Blog: http://www.paolomainardi.com -- Paolo Mainardi CTO Twinbit Blog: http://www.paolomainardi.com -- Regards, Steve Browett sbrow...@gmail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: how to use generator.yml
supply frontend as argument in generator CLI On Tue, Mar 31, 2009 at 11:37 AM, sachin jain jainsachi...@gmail.comwrote: how to use generator.yml in frontend --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: how to use generator.yml
On Tue, 31 Mar 2009, sachin jain wrote: how to use generator.yml in frontend Remember, the symfony command-line tool has built-in help: $ symfony help propel:generate-admin Usage: symfony propel:generate-admin [--module=...] [--theme=...] [--singular=...] [--plural=...] [--env=...] application route_or_model Arguments: application The application name route_or_model The route name or the model class Options: --moduleThe module name --theme The theme name (default: admin) --singular The singular name --pluralThe plural name --env The environment (default: dev) Description: The propel:generate-admin task generates a Propel admin module: ./symfony propel:generate-admin frontend Article The task creates a module in the %frontend% application for the %Article% model. The task creates a route for you in the application routing.yml. You can also generate a Propel admin module by passing a route name: ./symfony propel:generate-admin frontend article The task creates a module in the %frontend% application for the %article% route definition found in routing.yml. For the filters and batch actions to work properly, you need to add the wildcard option to the route: article: class: sfPropelRouteCollection options: model:Article with_wildcard_routes: true -- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---