| 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. |
| 86 |
******************************************************************** |
******************************************************************** |
| 87 |
|
|
| 88 |
|
|
| 89 |
|
|
| 90 |
|
|
| 91 |
|
|
| 92 |
|
|