/[drupal]/contributions/modules/blockbar/readme.txt
ViewVC logotype

Diff of /contributions/modules/blockbar/readme.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Fri Nov 4 18:05:28 2005 UTC revision 1.2, Fri Dec 23 22:52:42 2005 UTC
# Line 60  right sidebar, content ....) Line 60  right sidebar, content ....)
60    
61  [container region] - This is the source region for this BlockBar. This  [container region] - This is the source region for this BlockBar. This
62  region cannot be one of the standard regions (left sidebar, right sidebar etc)  region cannot be one of the standard regions (left sidebar, right sidebar etc)
63  This must be a custom region that you setup just to act as a container  This must be a new region that you setup just to act as a container
64  for this BlockBar.  See http://drupal.org/node/29140 for detailed  for this BlockBar.  See http://drupal.org/node/29140 for detailed
65  information on how to define new custom regions.  The short version, just add  information on how to define new custom regions.  The short version, just add
66  the following function to your template.php file (or mytheme.theme file depending  the following function to your template.php file (or mytheme.theme file depending
67  on your theme).  on your theme).  The last 2 regions in the list below are your new regions.  The
68    first five are the standard Drupal regions.
69    
70  function my_theme_regions() {  function my_theme_regions() {
71    return array(    return array(
72           'left' => t('left sidebar'),
73           'right' => t('right sidebar'),
74           'content' => t('content'),
75           'header' => t('header'),
76           'footer' => t('footer'),
77         'blockbar_container_1' => t('blockbar_container_1'),         'blockbar_container_1' => t('blockbar_container_1'),
78         'blockbar_container_2' => t('blockbar_container_2')         'blockbar_container_2' => t('blockbar_container_2')
79    );    );
80  }  }
81    
82  [drupal block 1] - This is a normal drupal block such as 'Navigation',  [drupal block 1] - This is a normal drupal block such as 'Navigation',
83  'User Login', 'Who's Online' etc.  'User Login', 'Who's Online' etc.
# Line 80  function my_theme_regions() { Line 86  function my_theme_regions() {
86  ********************************************************************  ********************************************************************
87    
88    
89    
90    
91    
92    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2