Hello,

2009/9/6 Abraham Montilla <amontil...@gmail.com>

> Exactly Dennis, the generator.yml file sems to work only with
> generate-admin command, however, the 14th chapter of "the definitive guide
> to symfony" talks a lot about it, maybe you want to check it out
> http://www.symfony-project.org/book/1_2/14-Generators Good luck
>
> 2009/9/5 Dennis Riedel <riedel.den...@gmail.com>
>
>>  Ok. Because I had created the backend forms with doctrine:generate-module
>> and not with doctrine:generate-admin in the beginning, it did not work
>> later. I deleted all modules and recreated them with
>> doctrine:generate-admin. Now they all have by default a generator.yml which
>> can be customized.
>
>
You can create your admin-generator module manually I think.
Your actions has to extend *autoContenuActions* class.

Don't forget to check the routing.yml if it's ok. Create the generator.yml.
Launch clear cache task.
And it must be good.

But I don't try this.
It's easier to launch the admin task.

Regards
NairuS


>
>>
>> On Sat, Sep 5, 2009 at 11:40 PM, Dennis Riedel 
>> <riedel.den...@gmail.com>wrote:
>>
>>> Hi Abraham
>>> Did you solve your problem? I used generate-module and generate-admin to
>>> create my backend form. But it never seems to use my custom configuration
>>> that I have created in myModule/config/generator.yml. Cache was cleared...
>>>
>>> Regards,
>>> Dennis
>>>
>>> On Fri, Sep 4, 2009 at 7:57 PM, Abraham <amontil...@gmail.com> wrote:
>>>
>>>>
>>>> hello folks, i created a module with the "doctrine:generate-module --
>>>> with-show --non-verbose-templates X Y Z" command, now i want to use a
>>>> generator.yml to configure the forms and list view, but it doesn't
>>>> work, why is that? i created the generator in the /apps/my-app/
>>>> modules/-my-mod/config/generator.yml and things as simples as changing
>>>> the list title just doesn't work, the list remain the same as
>>>> default... is it mandatory to use generators only with modules created
>>>> with the "generate-admin" command?
>>>>
>>>> thanks in advance.
>>>>
>>>>
>>>
>>
>>
>>
>
>
> --
> Have a nice day.
> Abraham Montilla.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to