four-column-double-bricks.tpl.php in DS Extra Layouts 7
Display Suite Four Column Bricks template.
Available variables:
Layout:
- $classes: String of classes that can be used to style this layout.
- $contextual_links: Renderable array of contextual links.
- $layout_wrapper: wrapper surrounding the layout.
Regions:
- $header: Rendered content for the "Header" region.
- $header_classes: String of classes that can be used to style the "Header" region.
- $above_first: Rendered content for the "Above First" region.
- $above_first_classes: String of classes that can be used to style the "Above First" region.
- $above_second: Rendered content for the "Above Second" region.
- $above_second_classes: String of classes that can be used to style the "Above Second" region.
- $above_third: Rendered content for the "Above Third" region.
- $above_third_classes: String of classes that can be used to style the "Above Third" region.
- $above_fourth: Rendered content for the "Above Fourth" region.
- $above_fourth_classes: String of classes that can be used to style the "Above Fourth" region.
- $above_brick: Rendered content for the "Above Brick" region.
- $above_brick_classes: String of classes that can be used to style the "Above Brick" region.
- $middle_first: Rendered content for the "Middle First" region.
- $middle_first_classes: String of classes that can be used to style the "Middle First" region.
- $middle_second: Rendered content for the "Middle Second" region.
- $middle_second_classes: String of classes that can be used to style the "Middle Second" region.
- $middle_third: Rendered content for the "Middle Third" region.
- $middle_third_classes: String of classes that can be used to style the "Middle Third" region.
- $middle_fourth: Rendered content for the "Middle Fourth" region.
- $middle_fourth_classes: String of classes that can be used to style the "Middle Fourth" region.
- $below_brick: Rendered content for the "Below Brick" region.
- $below_brick_classes: String of classes that can be used to style the "Below Brick" region.
- $below_first: Rendered content for the "Below First" region.
- $below_first_classes: String of classes that can be used to style the "Below First" region.
- $below_second: Rendered content for the "Below Second" region.
- $below_second_classes: String of classes that can be used to style the "Below Second" region.
- $below_third: Rendered content for the "Below Third" region.
- $below_third_classes: String of classes that can be used to style the "Below Third" region.
- $below_fourth: Rendered content for the "Below Fourth" region.
- $below_fourth_classes: String of classes that can be used to style the "Below Fourth" region.
- $footer: Rendered content for the "Footer" region.
- $footer_classes: String of classes that can be used to style the "Footer" region.
File
layouts/four_column_double_bricks/four-column-double-bricks.tpl.phpView source
<?php
/**
* @file
* Display Suite Four Column Bricks template.
*
* Available variables:
*
* Layout:
* - $classes: String of classes that can be used to style this layout.
* - $contextual_links: Renderable array of contextual links.
* - $layout_wrapper: wrapper surrounding the layout.
*
* Regions:
*
* - $header: Rendered content for the "Header" region.
* - $header_classes: String of classes that can be used to style the "Header" region.
*
* - $above_first: Rendered content for the "Above First" region.
* - $above_first_classes: String of classes that can be used to style the "Above First" region.
*
* - $above_second: Rendered content for the "Above Second" region.
* - $above_second_classes: String of classes that can be used to style the "Above Second" region.
*
* - $above_third: Rendered content for the "Above Third" region.
* - $above_third_classes: String of classes that can be used to style the "Above Third" region.
*
* - $above_fourth: Rendered content for the "Above Fourth" region.
* - $above_fourth_classes: String of classes that can be used to style the "Above Fourth" region.
*
* - $above_brick: Rendered content for the "Above Brick" region.
* - $above_brick_classes: String of classes that can be used to style the "Above Brick" region.
*
* - $middle_first: Rendered content for the "Middle First" region.
* - $middle_first_classes: String of classes that can be used to style the "Middle First" region.
*
* - $middle_second: Rendered content for the "Middle Second" region.
* - $middle_second_classes: String of classes that can be used to style the "Middle Second" region.
*
* - $middle_third: Rendered content for the "Middle Third" region.
* - $middle_third_classes: String of classes that can be used to style the "Middle Third" region.
*
* - $middle_fourth: Rendered content for the "Middle Fourth" region.
* - $middle_fourth_classes: String of classes that can be used to style the "Middle Fourth" region.
*
* - $below_brick: Rendered content for the "Below Brick" region.
* - $below_brick_classes: String of classes that can be used to style the "Below Brick" region.
*
* - $below_first: Rendered content for the "Below First" region.
* - $below_first_classes: String of classes that can be used to style the "Below First" region.
*
* - $below_second: Rendered content for the "Below Second" region.
* - $below_second_classes: String of classes that can be used to style the "Below Second" region.
*
* - $below_third: Rendered content for the "Below Third" region.
* - $below_third_classes: String of classes that can be used to style the "Below Third" region.
*
* - $below_fourth: Rendered content for the "Below Fourth" region.
* - $below_fourth_classes: String of classes that can be used to style the "Below Fourth" region.
*
* - $footer: Rendered content for the "Footer" region.
* - $footer_classes: String of classes that can be used to style the "Footer" region.
*/
?>
<<?php
print $layout_wrapper;
print $layout_attributes;
?> class="<?php
print $classes;
?> clearfix">
<!-- Needed to activate contextual links. -->
<?php
if (isset($title_suffix['contextual_links'])) {
?>
<?php
print render($title_suffix['contextual_links']);
?>
<?php
}
?>
<<?php
print $header_wrapper;
?> class="ds-header<?php
print $header_classes;
?>">
<?php
print $header;
?>
</<?php
print $header_wrapper;
?>>
<div class="ds-above">
<<?php
print $above_first_wrapper;
?> class="ds-above-first<?php
print $above_first_classes;
?>">
<?php
print $above_first;
?>
</<?php
print $above_first_wrapper;
?>>
<<?php
print $above_second_wrapper;
?> class="ds-above-second<?php
print $above_second_classes;
?>">
<?php
print $above_second;
?>
</<?php
print $above_second_wrapper;
?>>
<<?php
print $above_third_wrapper;
?> class="ds-above-third<?php
print $above_third_classes;
?>">
<?php
print $above_third;
?>
</<?php
print $above_third_wrapper;
?>>
<<?php
print $above_fourth_wrapper;
?> class="ds-above-fourth<?php
print $above_fourth_classes;
?>">
<?php
print $above_fourth;
?>
</<?php
print $above_fourth_wrapper;
?>>
</div>
<<?php
print $above_brick_wrapper;
?> class="ds-above-brick<?php
print $above_brick_classes;
?>">
<?php
print $above_brick;
?>
</<?php
print $above_brick_wrapper;
?>>
<div class="ds-middle">
<<?php
print $middle_first_wrapper;
?> class="ds-middle-first<?php
print $middle_first_classes;
?>">
<?php
print $middle_first;
?>
</<?php
print $middle_first_wrapper;
?>>
<<?php
print $middle_second_wrapper;
?> class="ds-middle-second<?php
print $middle_second_classes;
?>">
<?php
print $middle_second;
?>
</<?php
print $middle_second_wrapper;
?>>
<<?php
print $middle_third_wrapper;
?> class="ds-middle-third<?php
print $middle_third_classes;
?>">
<?php
print $middle_third;
?>
</<?php
print $middle_third_wrapper;
?>>
<<?php
print $middle_fourth_wrapper;
?> class="ds-middle-fourth<?php
print $middle_fourth_classes;
?>">
<?php
print $middle_fourth;
?>
</<?php
print $middle_fourth_wrapper;
?>>
</div>
<<?php
print $below_brick_wrapper;
?> class="ds-below-brick<?php
print $below_brick_classes;
?>">
<?php
print $below_brick;
?>
</<?php
print $below_brick_wrapper;
?>>
<div class="ds-below">
<<?php
print $below_first_wrapper;
?> class="ds-below-first<?php
print $below_first_classes;
?>">
<?php
print $below_first;
?>
</<?php
print $below_first_wrapper;
?>>
<<?php
print $below_second_wrapper;
?> class="ds-below-second<?php
print $below_second_classes;
?>">
<?php
print $below_second;
?>
</<?php
print $below_second_wrapper;
?>>
<<?php
print $below_third_wrapper;
?> class="ds-below-third<?php
print $below_third_classes;
?>">
<?php
print $below_third;
?>
</<?php
print $below_third_wrapper;
?>>
<<?php
print $below_fourth_wrapper;
?> class="ds-below-fourth<?php
print $below_fourth_classes;
?>">
<?php
print $below_fourth;
?>
</<?php
print $below_fourth_wrapper;
?>>
</div>
<<?php
print $footer_wrapper;
?> class="ds-footer<?php
print $footer_classes;
?>">
<?php
print $footer;
?>
</<?php
print $footer_wrapper;
?>>
</<?php
print $layout_wrapper;
?>>
<!-- Needed to activate display suite support on forms. -->
<?php
if (!empty($drupal_render_children)) {
?>
<?php
print $drupal_render_children;
}