This extension is the alternative version of available in Gii CRUD Generator. It uses CSS and markup from Web App Theme.
Requirements ¶
Tested on Yii 1.1.8
Installation ¶
- Extract folders
css
andimages
to the website root - Copy content of
protected
folder to theprotected
folder of your application - Configure Gii module as described in guide
- Add
'application.gii'
to the propertygeneratorPaths
of Gii module inprotected/config/main.php
(if you changed the value of this property).
Usage ¶
Open Gii module as described in guide and choose WebAppThemeCrud Generator
.
When generating first controller, check options "Generate Components and Widgets" and "Generate Layouts". This will produces additional widgets and components, that are required by views, and layouts with links to specified theme. The theme could be changed later in generated layout file main.php
by changing theme's folder name.
Notes ¶
As this theme is usually used for admin pages, produced controller's code differs from default one - index action displays grid insted of list of records.
install options
Can you add some more details on how to install this?
And perhaps how we can install this in existing YII applications?
RE: install options
I've updated the description
Like it
Just tested it and like.......... thanks for it!
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.