-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Giiant crud generator gen wrong view path #19
Comments
I'm having the same problem. Specifically, I've tried setting the View Path to app\views, backend\views, and several other options, as well as leaving it blank. When I leave it blank, I end up with a new folder directly under C:\ (I'm using a local host with the path C:\xampp\htdocs\site; boy is that way off!) If I use backend\views, the code generation message shows that all the views were generated under backend\views, but they are no where to be found. I mean, I did an extensive search for them, and they are truly no where to be found. This would be a great extension ... Addendum: I finally got it to work by putting the full path (C:\xampp\htdocs\site\backend\views) in the View Path field, but then it ignored my EditorProvider setting (just created a text area field on _form). If you tried that kind of path on the models, controllers, etc. it would totally bomb out. Could we get this a little more consistent? Also, here's what I've entered for the EditorProvider: \Yii::$container->set(
'schmunk42\giiant\crud\providers\EditorProvider',
[
'columnNames' => ['description']
]
); I've tried putting it in the config (main.php) for both backend and common, as well as main-local.php for both. Nothing seems to work. (Yes, there is a column named description in the model.) |
the gii can determine the right path of the crud views .but giiant seems perform a wrong action !
even though i use this extension in yii2(i rewrite it for yii2):
WebApplicationEndBehavior
The text was updated successfully, but these errors were encountered: