Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kahwee/backstage
Backstage — Easy admin interface for Yii Framework
https://github.com/kahwee/backstage
Last synced: about 2 months ago
JSON representation
Backstage — Easy admin interface for Yii Framework
- Host: GitHub
- URL: https://github.com/kahwee/backstage
- Owner: kahwee
- License: mit
- Created: 2012-02-01T07:37:23.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-04-01T11:33:36.000Z (almost 13 years ago)
- Last Synced: 2024-04-12T16:21:32.288Z (9 months ago)
- Language: PHP
- Homepage:
- Size: 2.01 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Backstage - Easy admin interface for Yii
========================================What is Backstage?
------------------Backstage is a Yii Framework module that is easily deployable and can be used for scaffolding.
How to make it work
-------------------Deploy it by placing it Backstage into `protected/modules/backstage`.
And in your `./protected/config/main.php`, add `backstage` to begin:
```php
array(
'backstage' => array(),
),
);
```Go to the website http://localhost/index.php?r=backstage to view Backstage.
More advance usage
------------------For more advance usage, here is an example.
```php
array(
'backstage' => array(
'class' => 'application.modules.backstage.BackstageModule',
#'autoloadModels' => false,
#'login_required' => true, // with support of CWebUser
'name' => 'Backstage',
'copyright_name' => 'Backstage, Inc.'
'models' => array(
'Tag' => array(
'id' => array(
'control' => 'datetime',
'visible' => true,
'format' => 'M j, Y g:i A',
),
),
'User' => false,
'Article' => array(
'content' => array(
'control' => 'richtext',
),
'create_by' => array(
'control' => 'relation',
),
'create_time' => array(
'visible' => array('index', 'search'),
'locked' => array('update'),
),
),
)
),
),
);
```Issues?
-------If you have any issues, please highlight them in [Backstage's GitHub issues](https://github.com/kahwee/backstage/issues).