From 38c70847c357c9cc81c68efa6011e5a006672b1f Mon Sep 17 00:00:00 2001 From: Aaron Cole Date: Thu, 28 Jan 2016 14:46:57 -0800 Subject: [PATCH] Adding postcard layouts using Display Suite templates. --- .../postcard_left/postcard-left.tpl.php | 44 +++++++++++++++++++ ds_layouts/postcard_left/postcard_left.inc | 20 +++++++++ .../postcard-left-wrap.tpl.php | 44 +++++++++++++++++++ .../postcard_left_wrap/postcard_left_wrap.inc | 20 +++++++++ .../postcard_right/postcard-right.tpl.php | 44 +++++++++++++++++++ ds_layouts/postcard_right/postcard_right.inc | 20 +++++++++ .../postcard-right-wrap.tpl.php | 44 +++++++++++++++++++ .../postcard_right_wrap.inc | 20 +++++++++ 8 files changed, 256 insertions(+) create mode 100644 ds_layouts/postcard_left/postcard-left.tpl.php create mode 100644 ds_layouts/postcard_left/postcard_left.inc create mode 100644 ds_layouts/postcard_left_wrap/postcard-left-wrap.tpl.php create mode 100644 ds_layouts/postcard_left_wrap/postcard_left_wrap.inc create mode 100644 ds_layouts/postcard_right/postcard-right.tpl.php create mode 100644 ds_layouts/postcard_right/postcard_right.inc create mode 100644 ds_layouts/postcard_right_wrap/postcard-right-wrap.tpl.php create mode 100644 ds_layouts/postcard_right_wrap/postcard_right_wrap.inc diff --git a/ds_layouts/postcard_left/postcard-left.tpl.php b/ds_layouts/postcard_left/postcard-left.tpl.php new file mode 100644 index 0000000..fa11f40 --- /dev/null +++ b/ds_layouts/postcard_left/postcard-left.tpl.php @@ -0,0 +1,44 @@ + +< class=" clearfix"> + + + + + + +
+ < class="ds-image"> + + > + + < class="ds-text"> + + > +
+ +> + + + + + diff --git a/ds_layouts/postcard_left/postcard_left.inc b/ds_layouts/postcard_left/postcard_left.inc new file mode 100644 index 0000000..66808db --- /dev/null +++ b/ds_layouts/postcard_left/postcard_left.inc @@ -0,0 +1,20 @@ + t('Postcard Left'), + 'regions' => array( + 'image' => t('Image'), + 'text' => t('Text'), + ), + // Uncomment if you want to include a CSS file for this layout (postcard_left.css) + // 'css' => TRUE, + // Uncomment if you want to include a preview for this layout (postcard_left.png) + // 'image' => TRUE, + ); +} diff --git a/ds_layouts/postcard_left_wrap/postcard-left-wrap.tpl.php b/ds_layouts/postcard_left_wrap/postcard-left-wrap.tpl.php new file mode 100644 index 0000000..113cec6 --- /dev/null +++ b/ds_layouts/postcard_left_wrap/postcard-left-wrap.tpl.php @@ -0,0 +1,44 @@ + +< class=" clearfix"> + + + + + + +
+ < class="ds-image"> + + > + + < class="ds-text"> + + > +
+ +> + + + + + diff --git a/ds_layouts/postcard_left_wrap/postcard_left_wrap.inc b/ds_layouts/postcard_left_wrap/postcard_left_wrap.inc new file mode 100644 index 0000000..d36bbe6 --- /dev/null +++ b/ds_layouts/postcard_left_wrap/postcard_left_wrap.inc @@ -0,0 +1,20 @@ + t('Postcard Left Wrap'), + 'regions' => array( + 'image' => t('Image'), + 'text' => t('Text'), + ), + // Uncomment if you want to include a CSS file for this layout (postcard_left_wrap.css) + // 'css' => TRUE, + // Uncomment if you want to include a preview for this layout (postcard_left_wrap.png) + // 'image' => TRUE, + ); +} diff --git a/ds_layouts/postcard_right/postcard-right.tpl.php b/ds_layouts/postcard_right/postcard-right.tpl.php new file mode 100644 index 0000000..3829e85 --- /dev/null +++ b/ds_layouts/postcard_right/postcard-right.tpl.php @@ -0,0 +1,44 @@ + +< class=" clearfix"> + + + + + + +
+ < class="ds-image"> + + > + + < class="ds-text"> + + > +
+ +> + + + + + diff --git a/ds_layouts/postcard_right/postcard_right.inc b/ds_layouts/postcard_right/postcard_right.inc new file mode 100644 index 0000000..1bfa483 --- /dev/null +++ b/ds_layouts/postcard_right/postcard_right.inc @@ -0,0 +1,20 @@ + t('Postcard Right'), + 'regions' => array( + 'image' => t('Image'), + 'text' => t('Text'), + ), + // Uncomment if you want to include a CSS file for this layout (postcard_right.css) + // 'css' => TRUE, + // Uncomment if you want to include a preview for this layout (postcard_right.png) + // 'image' => TRUE, + ); +} diff --git a/ds_layouts/postcard_right_wrap/postcard-right-wrap.tpl.php b/ds_layouts/postcard_right_wrap/postcard-right-wrap.tpl.php new file mode 100644 index 0000000..7206ea3 --- /dev/null +++ b/ds_layouts/postcard_right_wrap/postcard-right-wrap.tpl.php @@ -0,0 +1,44 @@ + +< class=" clearfix"> + + + + + + +
+ < class="ds-image"> + + > + + < class="ds-text"> + + > +
+ +> + + + + + diff --git a/ds_layouts/postcard_right_wrap/postcard_right_wrap.inc b/ds_layouts/postcard_right_wrap/postcard_right_wrap.inc new file mode 100644 index 0000000..ff3652c --- /dev/null +++ b/ds_layouts/postcard_right_wrap/postcard_right_wrap.inc @@ -0,0 +1,20 @@ + t('Postcard Right Wrap'), + 'regions' => array( + 'image' => t('Image'), + 'text' => t('Text'), + ), + // Uncomment if you want to include a CSS file for this layout (postcard_right_wrap.css) + // 'css' => TRUE, + // Uncomment if you want to include a preview for this layout (postcard_right_wrap.png) + // 'image' => TRUE, + ); +}