root / drupal7 / sites / all / themes / adaptivetheme / at_core / layouts / gpanels / two-66-33.php @ 74f6bef0
1 | 85ad3d82 | Assos Assos | <?php
|
---|---|---|---|
2 | |||
3 | /**
|
||
4 | * @file
|
||
5 | * Gpanel snippet for the two column 66/33 layout
|
||
6 | *
|
||
7 | * Gpanels are drop in multi-column snippets for displaying blocks.
|
||
8 | * Most Gpanels are stacked, meaning they have top and bottom regions
|
||
9 | * by default, however you do not need to use them. You should always
|
||
10 | * use all the horizonal regions or you might experience layout issues.
|
||
11 | *
|
||
12 | * How to use:
|
||
13 | * 1. Copy and paste the code snippet into your page.tpl.php file.
|
||
14 | * 2. Copy and paste the region definitions to your themes .info file.
|
||
15 | * 3. Clear the cache (in Performance settings) to refresh the theme registry.
|
||
16 | |||
17 | Region Deinitions:
|
||
18 | |||
19 | ; 2 col 66-33
|
||
20 | regions[two_66_33_top] = AT Two column 66/33 - top
|
||
21 | regions[two_66_33_first] = AT Two column 66/33 - left
|
||
22 | regions[two_66_33_second] = AT Two column 66/33 - right
|
||
23 | regions[two_66_33_bottom] = AT Two column 66/33 - bottom
|
||
24 | |||
25 | */
|
||
26 | ?>
|
||
27 | 74f6bef0 | Assos Assos | |
28 | 85ad3d82 | Assos Assos | <?php if ( |
29 | $page['two_66_33_top'] || |
||
30 | $page['two_66_33_first'] || |
||
31 | $page['two_66_33_second'] || |
||
32 | $page['two_66_33_bottom'] |
||
33 | ): ?>
|
||
34 | 74f6bef0 | Assos Assos | <!-- Two column 66-33 Gpanel -->
|
35 | 85ad3d82 | Assos Assos | <div class="at-panel gpanel panel-display two-66-33 clearfix"> |
36 | <?php print render($page['two_66_33_top']); ?> |
||
37 | <?php print render($page['two_66_33_first']); ?> |
||
38 | <?php print render($page['two_66_33_second']); ?> |
||
39 | <?php print render($page['two_66_33_bottom']); ?> |
||
40 | </div>
|
||
41 | <?php endif; ?> |