Yii 1.1: web-app-theme-crud

CRUD generator for Yii Framework based on Web App Theme
25 followers

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 and images to the website root
  • Copy content of protected folder to the protected folder of your application
  • Configure Gii module as described in guide
  • Add 'application.gii' to the property generatorPaths of Gii module in protected/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.

Resources

Total 3 comments

#10281 report it
fouss at 2012/10/17 07:48am
Like it

Just tested it and like.......... thanks for it!

#5262 report it
derelict at 2011/09/27 04:28pm
RE: install options

I've updated the description

#5261 report it
Thim at 2011/09/27 04:14pm
install options

Can you add some more details on how to install this?

And perhaps how we can install this in existing YII applications?

Leave a comment

Please to leave your comment.

Create extension