Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).