diff --git a/theme/boxxie/config.php b/theme/boxxie/config.php index 5ca9b093f03..48182cedcfd 100644 --- a/theme/boxxie/config.php +++ b/theme/boxxie/config.php @@ -35,11 +35,13 @@ $THEME->enable_dock = false; // Do you want to use the new navigation dock? //////////////////////////////////////////////////// + $THEME->layouts = array( 'base' => array( 'theme' => 'boxxie', 'file' => 'general.php', - 'regions' => array(), + 'regions' => array('side-pre', 'side-post'), + 'defaultregion' => 'side-post', ), 'general' => array( 'theme' => 'boxxie', @@ -114,4 +116,13 @@ $THEME->layouts = array( 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true), ), -); \ No newline at end of file +); + +/////////////////////////////////////////////////////////////// +// These are all of the possible layouts in Moodle. The +// simplest way to do this is to keep the theme and file +// variables the same for every layout. Including them +// all in this way allows some flexibility down the road +// if you want to add a different layout template to a +// specific page. +/////////////////////////////////////////////////////////////// \ No newline at end of file diff --git a/theme/boxxie/layout/general.php b/theme/boxxie/layout/general.php index 63bd6043f5a..da351b93a5c 100644 --- a/theme/boxxie/layout/general.php +++ b/theme/boxxie/layout/general.php @@ -2,69 +2,91 @@ echo $OUTPUT->doctype() ?> htmlattributes() ?>>
-