Hello, I’m trying to generate javascript code (.js), change the path where the files will be generated and include more fields in the form of the generator, as the project namespace for example, someone has an idea of how best to do this?
I tried to create a new generator following these steps:http://www.yiiframework.com/doc/guide/1.1/en/topics.gii but could not finish, to access the page generator that created it, the 404 error occurs (the accessing index.php/gii/widget, occurs: Unable to resolve the request "gii/widget.").
I got the problem that I was doing it in the folder within gii/framework instead of doing inside /protected, not even have to change the configuration file.
The question now is: How to generate javascript files instead of php and how to set the path where the file is created, not find much useful documentation related to it.