Puvodni zprava "[symfony-users] Re: propel:generate-admin module name" od "Richtermeister (symfony-users@googlegroups.com)" z 4. září 2009, 17:27:40, msgid:92c695a3-8603-4bc2-a2f7-efbc6a21d...@f20g2000prn.googlegroups.com (1619 bajtu):
R> Hey Dawid, R> I have the same issue, but only if I forget to specify the module R> name the first time around. After that symfony seems to "remember" R> that name, which is really annoying. I usually end up manually R> renaming things, which is possible. Just remember to pass the R> proper module name the first time around, and you should be fine. R> Daniel Hi Daniel, thank you very much for your piece of knowledge. So there must be something, where the module name is stored in. (I'm trying something...) Great, I got it! Thank you very much once more for your hint. AFAIK Propel admin generator alter only routing.yml file, where module and model names are stored. When I deleted or commented route for the generated admin module, I'm able to use another module name. So task "propel:generate-admin app Model --module=module" search for the given model name in a routing.yml and use associated module name, which overwrite module name specified in a task call. It's a bit strange behavior, I think, and I didn't find it anywhere in a documentation. Have a nice weekend :) -- Dawid Ferenczy http://www.ferenczy.cz --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---