-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding a temporary hard-coded 'order' button to the product page.
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
sites/all/themes/zen-sullivan/templates/ds-2col-stacked-fluid.tpl.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* Display Suite fluid 2 column stacked template. | ||
*/ | ||
|
||
// Add sidebar classes so that we can apply the correct width in css. | ||
if (($left && !$right) || ($right && !$left)) { | ||
$classes .= ' group-one-column'; | ||
} | ||
?> | ||
<<?php print $layout_wrapper; print $layout_attributes; ?> class="ds-2col-stacked-fluid <?php print $classes;?> clearfix"> | ||
|
||
<?php if (isset($title_suffix['contextual_links'])): ?> | ||
<?php print render($title_suffix['contextual_links']); ?> | ||
<?php endif; ?> | ||
|
||
<<?php print $header_wrapper ?> class="group-header<?php print $header_classes; ?>"> | ||
<?php print $header; ?> | ||
</<?php print $header_wrapper ?>> | ||
|
||
<?php if ($left): ?> | ||
<<?php print $left_wrapper ?> class="group-left<?php print $left_classes; ?>"> | ||
<?php print $left; ?> | ||
</<?php print $left_wrapper ?>> | ||
<?php endif; ?> | ||
|
||
<?php if ($right): ?> | ||
<<?php print $right_wrapper ?> class="group-right<?php print $right_classes; ?>"> | ||
<?php print $right; ?> | ||
<a href="/node/4764" class="button--alt-order">Order</a> | ||
</<?php print $right_wrapper ?>> | ||
<?php endif; ?> | ||
|
||
<<?php print $footer_wrapper ?> class="group-footer<?php print $footer_classes; ?>"> | ||
<?php print $footer; ?> | ||
</<?php print $footer_wrapper ?>> | ||
|
||
</<?php print $layout_wrapper ?>> | ||
|
||
<?php if (!empty($drupal_render_children)): ?> | ||
<?php print $drupal_render_children ?> | ||
<?php endif; ?> |