Patrioticcow
Patrioticcow

Reputation: 27038

how to use gii generator with modules in yii framework?

i am using the gii generator to create a module.

the issue is when i try to create a form or some model for that module... i can't tell it to generate those files in that module... it only does it in the main application folders.

any ideas?

thanks.enter image description here

Upvotes: 2

Views: 4648

Answers (1)

Kapil gopinath
Kapil gopinath

Reputation: 1053

To create a model for a specific module in yii you can give input to the model path text field like 'application.modules..models'.

Upvotes: 3

Related Questions