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

Specific BrowniePHP configurations

Some configurations are specific to the needs of the backend and they must be done explicitly for BrowniePHP. A few examples may be: fields renaming, images and files attachments, fields you want to hide, models the user should not be able to update, custom actions, etc. In order to do that, you can place an attribute named $brwConfig inside each model, with an array containing the configuration values you need.

This configuration array follows the convention over configuration mantra, so you just have to configure those parameters that you want to be different than the default value. We’ve made a hard work studying the best default value in every case so you have to make the minimum additions to your models.

Here you’ll find the main array keys to configure. Those items without a link are still under development.