A CakePHP Plugin for sexier admin scaffolding using Twitter Bootstrap.
- Copy the plugin to
app/Plugin/Admin
- Enable the plugin in
app/Config/bootstrap.php
with the following code:
CakePlugin::loadAll(array('Admin' => array('bootstrap' => true)));
- Go to
http://example.com/admin
whereexample.com
is the URL of your website - The main navigation is built "automagically" from the models in
app/Model
- Start administering
In order to control access to Admin actions, the plugin checks for the session param admin => true
, so the users need to have the following Auth
structure in session:
[Auth] => Array ( [User] => Array ( [admin] => 1 ) )