MDL-33191 theme_magazine: changes to magazine/config.php fixes $THEME->layouts for...
authorMary Evans <lazydaisy@visible-expression.co.uk>
Tue, 22 May 2012 15:54:00 +0000 (16:54 +0100)
committerMary Evans <lazydaisy@visible-expression.co.uk>
Tue, 22 May 2012 15:54:00 +0000 (16:54 +0100)
theme/magazine/config.php

index cc138f2..5ed5277 100644 (file)
@@ -49,12 +49,13 @@ $THEME->editor_sheets = array('editor');
 ////////////////////////////////////////////////////
 
 $THEME->layouts = array(
 ////////////////////////////////////////////////////
 
 $THEME->layouts = array(
+    // Most backwards compatible layout without the blocks - this is the layout used by default
     'base' => array(
         'file' => 'general.php',
     'base' => array(
         'file' => 'general.php',
-        'regions' => array('side-pre', 'side-post'),
-        'defaultregion' => 'side-post',
+        'regions' => array(),
     ),
     ),
-    'general' => array(
+    // Standard layout with blocks, this is recommended for most pages with general information
+    'standard' => array(
         'file' => 'general.php',
         'regions' => array('side-pre', 'side-post'),
         'defaultregion' => 'side-post',
         'file' => 'general.php',
         'regions' => array('side-pre', 'side-post'),
         'defaultregion' => 'side-post',