Warning: Creating default object from empty value in /home/brownie/public_html/wp-content/themes/skeptical/functions/admin-hooks.php on line 160

Setup instructions


Create a basic app, you need at least one model with its own database table (or the datasource you use).


Download the plugin and extract it into app/Plugin/Brownie or Plugin/Brownie


Add the component in app/Controller/AppController.php, the code could be something like this:

class AppController extends Controller {
    var $components = array('Session', 'Brownie.BrwPanel');
    /* ... */


Add the behavior in app/Model/AppModel.php

class AppModel extends Model {
    var $actsAs = array('Containable', 'Brownie.BrwPanel');
    /* ... */


Create the tables for the models needed for BrowniePHP, you will find it in brownie.sql inside the plugin folder. After executing the SQL you will find 3 tables: brw_users, brw_files and brw_images


Add this line to app/Config/bootstrap.php

CakePlugin::load('Brownie', array('bootstrap' => true, 'routes' => true));


Go to http://www.your-domain.com/brownie and login with any user you want (the username have to be a valid email address). When the table brw_users is empty the first login you make is going to be saved instead of validated.

Next: Requirements