开发者

Making 2 admin modules for the same model in symfony 1.4

I want to ask how to make 2 admin modules fo开发者_开发百科r the same model

I have a model called client. and I made an admin module for it with the name of client

now when I try to make another module with another name like client_2. I doesn't make it.

So, please help me guys, is this issue?


i had the same problem and found a solution,

  1. go to the routing.yml and copy and paste the route of the first module for the model

  2. Change the name of the route and the prefix path to client_2

  3. Do "php symfony doctrine:generate-admin backend Client --module=client_2" and everything is fine i guess :P


You can specify the name of the module :

php symfony doctrine:generate-admin backend Client --module=client_2
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜