You are here

two-column-66-33.tpl.php in DS Extra Layouts 7

Display Suite Two Column 66 33 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.
  • $left: Rendered content for the "Left" region.
  • $left_classes: String of classes that can be used to style the "Left"
  • region.
  • $right: Rendered content for the "Right" region.
  • $right_classes: String of classes that can be used to style the "Right"
  • region.
  • $footer: Rendered content for the "Footer" region.
  • $footer_classes: String of classes that can be used to style the "Footer"
  • region.

File

layouts/two_column_66_33/two-column-66-33.tpl.php
View source
<?php

/**
 * @file
 * Display Suite Two Column 66 33 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.
 *
 * - $left: Rendered content for the "Left" region.
 * - $left_classes: String of classes that can be used to style the "Left" 
 * - region.
 *
 * - $right: Rendered content for the "Right" region.
 * - $right_classes: String of classes that can be used to style the "Right" 
 * - 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 $left_wrapper;
?> class="ds-left<?php

print $left_classes;
?>">
      <?php

print $left;
?>
    </<?php

print $left_wrapper;
?>>

    <<?php

print $right_wrapper;
?> class="ds-right<?php

print $right_classes;
?>">
      <?php

print $right;
?>
    </<?php

print $right_wrapper;
?>>

</<?php

print $layout_wrapper;
?>>

<!-- Needed to activate display suite support on forms. -->
<?php

if (!empty($drupal_render_children)) {
  ?>
  <?php

  print $drupal_render_children;
}