Gii: CRUD creation for model in Module Doesn't load files into module folders but default folders
Posted 07 June 2010 - 09:22 PM
However when I go to create a CRUD operation for the model for the module, using application.modules.modulename.models.modelname
it displays the preview of everything generating under the default views and controller folders (as opposed to the ones associated with the module).
This isn't a huge issue as files can be copied to the right place, however if code was ever associated with production based on location in the directory, then there would be issues.
Not sure if anyone else has gotten this little set back. Otherwise Gii works awesome and is a really creative idea.
Anymore information required, let me know.
Posted 08 June 2010 - 11:52 AM
Awesome figured it out, thanks. We can probably move this to a more likely checked section for assisting users later, I've uploaded a screen shot so readers can view the actual inputs and results.
Understanding Modules - Controllers.PNG (62.53K)
Number of downloads: 1036
Posted 16 November 2010 - 10:27 PM
The files are generated as the paths show, and actually work, but I would expect them to be generated within the module
ehh! Figured it out - please remember to update your configuration file after creating your module