Example of creation of Nested Module

Hi, I think Nested Module is a solution for a problem i have.

Can someone shows me of it is done?

In shell I did: module admin.enquete which is a module admin module. Because I want to reuse in other projects.

But, the admin.enquete was created in the same level of admin module. Its name is admin.enquete.php

It is right? Shouldn’t it be under /admin/ directory?

I just played around with Nested Module’s and I can see that ModuleCommand don’t understand nested modules - so you’ll have to work it out manually.

Seems like MasterAM had a solution for how to configure nested modules here: http://www.yiiframework.com/doc/guide/basics.module#c211

Thank you!