The include files for customization in Brimbox are designed to keep different types of code and customization separate and to facilitate that they load at the appropriate time. There are, aside from the “Home”, “Viewer”, and “Guest” extra files, 5 include files that load at runtime intended for customization. The following is the load order of the configuration and customization files.
Controller Configuration Files
$main class functions are loaded here.
Controller Function modules
Custom function modules are parsed here.
The global array is parsed here.
Box Controller Includes
CSS includes are parsed here.
There is also the
bb_less.less file which is compiled with the
bb_box.css when the “Build Custom CSS” button is submitted in the “Manage Modules” module.
Note that default files are kept in folder