diff --git a/lib/Config/Populator.php b/lib/Config/Populator.php index 772b1bbf3d..c8307ecdab 100644 --- a/lib/Config/Populator.php +++ b/lib/Config/Populator.php @@ -62,6 +62,20 @@ class Populator { 'YogaStudio', 'Charity', 'FashionStore', + 'BuddhistTemple', + 'Birds', + 'FashionBlog', + 'Guitarist', + 'Mosque', + 'Painter', + 'Photography', + 'Synagogue', + + 'JazzClub', + 'Motor', + 'Poet', + 'RockBand', + 'Vlogger', 'WelcomeBlank1Column', 'WelcomeBlank12Column', diff --git a/lib/Config/PopulatorData/Templates/Birds.php b/lib/Config/PopulatorData/Templates/Birds.php new file mode 100644 index 0000000000..08283d115f --- /dev/null +++ b/lib/Config/PopulatorData/Templates/Birds.php @@ -0,0 +1,1754 @@ +template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/birds'; + $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; + } + + function get() { + return array( + 'name' => __("Birds", 'mailpoet'), + 'categories' => json_encode(array('standard', 'all')), + 'readonly' => 1, + 'thumbnail' => $this->getThumbnail(), + 'body' => json_encode($this->getBody()), + ); + } + + private function getThumbnail() { + return $this->template_image_url . '/thumbnail.jpg'; + } + + private function getBody() { + return array ( + 'content' => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#222222', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#26b6cf', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Birds-Logo-1.png', + 'alt' => 'Birds-Logo', + 'fullWidth' => false, + 'width' => '178px', + 'height' => '127px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'left', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'header', + 'text' => '

View email in browser >

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Roboto', + 'fontSize' => '12px', + 'textAlign' => 'right', + ), + 'link' => + array ( + 'fontColor' => '#12616f', + 'textDecoration' => 'underline', + ), + ), + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#222222', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + ), + ), + ), + ), + 3 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Birds-Header-2.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '112px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

New Season

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut in mattis neque. Quisque sed massa eu tellus efficitur dictum at sed augue. Ut in mattis neque.

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Read the whole story', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#26b6cf', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '159px', + 'lineHeight' => '37px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'left', + ), + ), + ), + 3 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '90px', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 4 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#222222', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + ), + ), + ), + ), + 5 => + array ( + 'type' => 'container', + 'columnLayout' => '2_1', + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Birds-Images-1.jpg', + 'alt' => 'Birds-Images-1', + 'fullWidth' => true, + 'width' => '800px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '53px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Puffin Sightings

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut in mattis neque. Quisque sed massa eu tellus efficitur dictum at sed augue. 

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Read more', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#26b6cf', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '82px', + 'lineHeight' => '29px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'fontWeight' => 'normal', + 'textAlign' => 'left', + ), + ), + ), + ), + ), + ), + ), + 6 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#222222', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + ), + ), + ), + ), + 7 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

This month\'s best pictures

', + ), + ), + ), + ), + ), + 8 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Birds-Images-6.jpg', + 'alt' => 'Birds-Images-6', + 'fullWidth' => true, + 'width' => '800px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Birds-Images-7.jpg', + 'alt' => 'Birds-Images-7', + 'fullWidth' => true, + 'width' => '800px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Birds-Images-5.jpg', + 'alt' => 'Birds-Images-5', + 'fullWidth' => true, + 'width' => '800px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 9 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Birds-Images-2.jpg', + 'alt' => 'Birds-Images-2', + 'fullWidth' => true, + 'width' => '800px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Birds-Images-3.jpg', + 'alt' => 'Birds-Images-3', + 'fullWidth' => true, + 'width' => '800px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Birds-Images-4.jpg', + 'alt' => 'Birds-Images-4', + 'fullWidth' => true, + 'width' => '800px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 10 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#222222', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + ), + ), + ), + ), + 11 => + array ( + 'type' => 'container', + 'columnLayout' => '1_2', + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#222222', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/580b57fbd9996e24bc43bb61.png', + 'alt' => '580b57fbd9996e24bc43bb61', + 'fullWidth' => true, + 'width' => '671px', + 'height' => '700px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Tweeting isn\'t just for birds...

+

We love to hear your thoughts about this newsletter, as well as being able to share your amazing pictures with us. Use the hashtag #birdwatch and we\'ll share the best pictures here each month.

', + ), + 2 => + array ( + 'type' => 'social', + 'iconSet' => 'circles', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/03-circles/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/03-circles/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/03-circles/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + 3 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'youtube', + 'link' => 'http://www.youtube.com', + 'image' => $this->social_icon_url . '/03-circles/Youtube.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Youtube', + ), + ), + ), + ), + ), + ), + ), + 12 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#222222', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 13 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#26b6cf', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 14 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#26b6cf', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Birds-Logo-1.png', + 'alt' => 'Birds-Logo', + 'fullWidth' => false, + 'width' => '164px', + 'height' => '127px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'footer', + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#147080', + 'fontFamily' => 'Roboto', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#12616f', + 'textDecoration' => 'underline', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'globalStyles' => + array ( + 'text' => + array ( + 'fontColor' => '#3d3d3d', + 'fontFamily' => 'Roboto', + 'fontSize' => '14px', + ), + 'h1' => + array ( + 'fontColor' => '#3d3d3d', + 'fontFamily' => 'Roboto', + 'fontSize' => '36px', + ), + 'h2' => + array ( + 'fontColor' => '#3d3d3d', + 'fontFamily' => 'Roboto', + 'fontSize' => '24px', + ), + 'h3' => + array ( + 'fontColor' => '#3d3d3d', + 'fontFamily' => 'Roboto', + 'fontSize' => '22px', + ), + 'link' => + array ( + 'fontColor' => '#21759B', + 'textDecoration' => 'underline', + ), + 'wrapper' => + array ( + 'backgroundColor' => '#ffffff', + ), + 'body' => + array ( + 'backgroundColor' => '#222222', + ), + ), + 'blockDefaults' => + array ( + 'automatedLatestContent' => + array ( + 'amount' => '5', + 'withLayout' => false, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'belowTitle', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContent.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContent.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'automatedLatestContentLayout' => + array ( + 'amount' => '5', + 'withLayout' => true, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContentLayout.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContentLayout.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'button' => + array ( + 'text' => 'Read more', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#26b6cf', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '82px', + 'lineHeight' => '29px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'fontWeight' => 'normal', + 'textAlign' => 'left', + ), + ), + 'type' => 'button', + ), + 'divider' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2d4b50', + 'padding' => '5.5px', + 'borderStyle' => 'dotted', + 'borderWidth' => '4px', + 'borderColor' => '#4a6b70', + ), + ), + 'type' => 'divider', + ), + 'footer' => + array ( + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#147080', + 'fontFamily' => 'Roboto', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#12616f', + 'textDecoration' => 'underline', + ), + ), + 'type' => 'footer', + ), + 'posts' => + array ( + 'amount' => '10', + 'withLayout' => true, + 'contentType' => 'post', + 'postStatus' => 'publish', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'link', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'posts.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'posts.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'social' => + array ( + 'iconSet' => 'circles', + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/03-circles/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/03-circles/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/03-circles/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + 3 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'youtube', + 'link' => 'http://www.youtube.com', + 'image' => $this->social_icon_url . '/03-circles/Youtube.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Youtube', + ), + ), + 'type' => 'social', + ), + 'spacer' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '112px', + ), + ), + 'type' => 'spacer', + ), + 'header' => + array ( + 'text' => 'Display problems? Open this email in your web browser.', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Roboto', + 'fontSize' => '12px', + 'textAlign' => 'right', + ), + 'link' => + array ( + 'fontColor' => '#12616f', + 'textDecoration' => 'underline', + ), + ), + 'type' => 'header', + ), + ), + ); + } + +} diff --git a/lib/Config/PopulatorData/Templates/BuddhistTemple.php b/lib/Config/PopulatorData/Templates/BuddhistTemple.php new file mode 100644 index 0000000000..53f56b8767 --- /dev/null +++ b/lib/Config/PopulatorData/Templates/BuddhistTemple.php @@ -0,0 +1,1301 @@ +template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/buddhist-temple'; + $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; + } + + function get() { + return array( + 'name' => __("Buddhist Temple", 'mailpoet'), + 'categories' => json_encode(array('standard', 'all')), + 'readonly' => 1, + 'thumbnail' => $this->getThumbnail(), + 'body' => json_encode($this->getBody()), + ); + } + + private function getThumbnail() { + return $this->template_image_url . '/thumbnail.jpg'; + } + + private function getBody() { + return array ( + 'content' => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Buddhist-Header.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#00050b', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'header', + 'text' => '

View email in browser >

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '11px', + 'textAlign' => 'left', + ), + 'link' => + array ( + 'fontColor' => '#787878', + 'textDecoration' => 'none', + ), + ), + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '80px', + ), + ), + ), + 3 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Buddhist-Logo.png', + 'alt' => 'Buddhist-Logo', + 'fullWidth' => false, + 'width' => '170px', + 'height' => '99px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'left', + ), + ), + ), + 4 => + array ( + 'type' => 'text', + 'text' => '

With our thoughts, we make the world

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam sed semper ipsum. Vestibulum finibus sapien in enim ultricies, vel placerat risus lacinia.

', + ), + 5 => + array ( + 'type' => 'divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '24.5px', + 'borderStyle' => 'dashed', + 'borderWidth' => '2px', + 'borderColor' => '#f37f31', + ), + ), + ), + 6 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Buddhist-Avatar.jpg', + 'alt' => 'Buddhist-Avatar', + 'fullWidth' => false, + 'width' => '70px', + 'height' => '400px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'left', + ), + ), + ), + 7 => + array ( + 'type' => 'text', + 'text' => '

Special Event

+

Dalai Lama visit

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam sed semper ipsum.

', + ), + 8 => + array ( + 'type' => 'button', + 'text' => 'Book tickets here', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#f37f31', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '40px', + 'borderStyle' => 'solid', + 'width' => '145px', + 'lineHeight' => '35px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '14px', + 'fontWeight' => 'bold', + 'textAlign' => 'left', + ), + ), + ), + 9 => + array ( + 'type' => 'divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '7px', + 'borderStyle' => 'dashed', + 'borderWidth' => '2px', + 'borderColor' => '#f37f31', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

New prayer flags

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam sed semper ipsum. Vestibulum finibus sapien in enim ultricies, vel placerat risus lacinia.

+

Find out more >

', + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/5bafccfc554c7f08176ec084.png', + 'alt' => '5bafccfc554c7f08176ec084', + 'fullWidth' => false, + 'width' => '280px', + 'height' => '524px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 3 => + array ( + 'type' => 'container', + 'columnLayout' => '1_2', + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Buddhist-Social.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#f37f31', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '45px', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '90px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Sharing matters to us

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam sed semper ipsum. Vestibulum finibus sapien in enim ultricies, vel placerat risus lacinia.

', + ), + 2 => + array ( + 'type' => 'social', + 'iconSet' => 'full-symbol-grey', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'website', + 'link' => '', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Website.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Website', + ), + 3 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + ), + ), + 3 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '45px', + ), + ), + ), + ), + ), + ), + ), + 4 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '50px', + ), + ), + ), + ), + ), + ), + ), + 5 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Buddhist-Images-1.jpg', + 'alt' => 'Buddhist-Images-1', + 'fullWidth' => false, + 'width' => '800px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Meditation for beginners

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam sed semper ipsum. 

+

Find out more >

', + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Buddhist-Images-2.jpg', + 'alt' => 'Buddhist-Images-2', + 'fullWidth' => false, + 'width' => '800px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Planning your trip to a temple

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam sed semper ipsum. 

+

Find out more >

', + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Buddhist-Images-3.jpg', + 'alt' => 'Buddhist-Images-3', + 'fullWidth' => false, + 'width' => '800px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Visit the sunken statues

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam sed semper ipsum. 

+

Find out more >

', + ), + ), + ), + ), + ), + 6 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '7px', + 'borderStyle' => 'dashed', + 'borderWidth' => '2px', + 'borderColor' => '#f37f31', + ), + ), + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + 3 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Buddhist-Logo.png', + 'alt' => 'Buddhist-Logo', + 'fullWidth' => false, + 'width' => '170px', + 'height' => '99px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 4 => + array ( + 'type' => 'footer', + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#f37f31', + 'textDecoration' => 'underline', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'globalStyles' => + array ( + 'text' => + array ( + 'fontColor' => '#eeeeee', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '14px', + ), + 'h1' => + array ( + 'fontColor' => '#eeeeee', + 'fontFamily' => 'Merriweather', + 'fontSize' => '30px', + ), + 'h2' => + array ( + 'fontColor' => '#eeeeee', + 'fontFamily' => 'Merriweather', + 'fontSize' => '24px', + ), + 'h3' => + array ( + 'fontColor' => '#eeeeee', + 'fontFamily' => 'Merriweather', + 'fontSize' => '22px', + ), + 'link' => + array ( + 'fontColor' => '#f37f31', + 'textDecoration' => 'underline', + ), + 'wrapper' => + array ( + 'backgroundColor' => '#00050b', + ), + 'body' => + array ( + 'backgroundColor' => '#00050b', + ), + ), + 'blockDefaults' => + array ( + 'automatedLatestContent' => + array ( + 'amount' => '5', + 'withLayout' => false, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'belowTitle', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContent.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContent.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'automatedLatestContentLayout' => + array ( + 'amount' => '5', + 'withLayout' => true, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContentLayout.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContentLayout.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'button' => + array ( + 'text' => 'Book tickets here', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#f37f31', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '40px', + 'borderStyle' => 'solid', + 'width' => '145px', + 'lineHeight' => '35px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '14px', + 'fontWeight' => 'bold', + 'textAlign' => 'left', + ), + ), + 'type' => 'button', + ), + 'divider' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '7px', + 'borderStyle' => 'dashed', + 'borderWidth' => '2px', + 'borderColor' => '#f37f31', + ), + ), + 'type' => 'divider', + ), + 'footer' => + array ( + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#f37f31', + 'textDecoration' => 'underline', + ), + ), + 'type' => 'footer', + ), + 'posts' => + array ( + 'amount' => '10', + 'withLayout' => true, + 'contentType' => 'post', + 'postStatus' => 'publish', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'link', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'posts.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'posts.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'social' => + array ( + 'iconSet' => 'full-symbol-grey', + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'website', + 'link' => '', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Website.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Website', + ), + 3 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + ), + 'type' => 'social', + ), + 'spacer' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + 'type' => 'spacer', + ), + 'header' => + array ( + 'text' => 'Display problems? Open this email in your web browser.', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '11px', + 'textAlign' => 'left', + ), + 'link' => + array ( + 'fontColor' => '#787878', + 'textDecoration' => 'none', + ), + ), + 'type' => 'header', + ), + ), + ); + } + +} diff --git a/lib/Config/PopulatorData/Templates/FashionBlog.php b/lib/Config/PopulatorData/Templates/FashionBlog.php new file mode 100644 index 0000000000..510be3a09a --- /dev/null +++ b/lib/Config/PopulatorData/Templates/FashionBlog.php @@ -0,0 +1,1104 @@ +template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/fashion-blog'; + $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; + } + + function get() { + return array( + 'name' => __("Fashion Blog", 'mailpoet'), + 'categories' => json_encode(array('standard', 'all')), + 'readonly' => 1, + 'thumbnail' => $this->getThumbnail(), + 'body' => json_encode($this->getBody()), + ); + } + + private function getThumbnail() { + return $this->template_image_url . '/thumbnail.jpg'; + } + + private function getBody() { + return array ( + 'content' => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'header', + 'text' => '

View online >

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Arial', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#6cb7d4', + 'textDecoration' => 'underline', + ), + ), + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 3 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Fashion-Logo-1.png', + 'alt' => 'Fashion-Logo-1', + 'fullWidth' => false, + 'width' => '200px', + 'height' => '38px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 4 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Fashion-Header.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#66cbba', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '170px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

The new season is here

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus et pellentesque

+

Start Shopping

', + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '170px', + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + ), + ), + ), + ), + 3 => + array ( + 'type' => 'container', + 'columnLayout' => '1_2', + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Fashion-Gift.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#66cbba', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '50px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

In a hurry?

+

Grab a gift card from our online shop.

+

Treat yourself or that special someone in your life.

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Buy a gift card', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#222222', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '114px', + 'lineHeight' => '34px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Arial', + 'fontSize' => '12px', + 'fontWeight' => 'bold', + 'textAlign' => 'right', + ), + ), + ), + 3 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + ), + ), + ), + ), + 4 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '50px', + ), + ), + ), + ), + ), + ), + ), + 5 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

Keep in touch with us online

', + ), + 1 => + array ( + 'type' => 'social', + 'iconSet' => 'full-symbol-black', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/07-full-symbol-black/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/07-full-symbol-black/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/07-full-symbol-black/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + ), + ), + 2 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Fashion-Logo-1.png', + 'alt' => 'Fashion-Logo-1', + 'fullWidth' => true, + 'width' => '142px', + 'height' => '38px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 3 => + array ( + 'type' => 'footer', + 'text' => '

Unsubscribe | Manage your subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Arial', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#6cb7d4', + 'textDecoration' => 'none', + ), + ), + ), + ), + ), + ), + ), + 6 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '23px', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'globalStyles' => + array ( + 'text' => + array ( + 'fontColor' => '#000000', + 'fontFamily' => 'Arial', + 'fontSize' => '13px', + ), + 'h1' => + array ( + 'fontColor' => '#111111', + 'fontFamily' => 'Arial', + 'fontSize' => '26px', + ), + 'h2' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Arial', + 'fontSize' => '22px', + ), + 'h3' => + array ( + 'fontColor' => '#333333', + 'fontFamily' => 'Arial', + 'fontSize' => '20px', + ), + 'link' => + array ( + 'fontColor' => '#21759B', + 'textDecoration' => 'underline', + ), + 'wrapper' => + array ( + 'backgroundColor' => '#ffffff', + ), + 'body' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blockDefaults' => + array ( + 'automatedLatestContent' => + array ( + 'amount' => '5', + 'withLayout' => false, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'belowTitle', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContent.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContent.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'automatedLatestContentLayout' => + array ( + 'amount' => '5', + 'withLayout' => true, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContentLayout.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContentLayout.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'button' => + array ( + 'text' => 'Buy a gift card', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#222222', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '114px', + 'lineHeight' => '34px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Arial', + 'fontSize' => '12px', + 'fontWeight' => 'bold', + 'textAlign' => 'right', + ), + ), + 'type' => 'button', + ), + 'divider' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'footer' => + array ( + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Arial', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#6cb7d4', + 'textDecoration' => 'none', + ), + ), + 'type' => 'footer', + ), + 'posts' => + array ( + 'amount' => '10', + 'withLayout' => true, + 'contentType' => 'post', + 'postStatus' => 'publish', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'link', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'posts.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'posts.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'social' => + array ( + 'iconSet' => 'full-symbol-black', + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/07-full-symbol-black/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/07-full-symbol-black/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/07-full-symbol-black/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + ), + 'type' => 'social', + ), + 'spacer' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '170px', + ), + ), + 'type' => 'spacer', + ), + 'header' => + array ( + 'text' => 'Display problems? Open this email in your web browser.', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Arial', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#6cb7d4', + 'textDecoration' => 'underline', + ), + ), + 'type' => 'header', + ), + ), + ); + } + +} diff --git a/lib/Config/PopulatorData/Templates/Guitarist.php b/lib/Config/PopulatorData/Templates/Guitarist.php new file mode 100644 index 0000000000..a1a7f9dee8 --- /dev/null +++ b/lib/Config/PopulatorData/Templates/Guitarist.php @@ -0,0 +1,1745 @@ +template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/guitarist'; + $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; + } + + function get() { + return array( + 'name' => __("Guitarist", 'mailpoet'), + 'categories' => json_encode(array('standard', 'all')), + 'readonly' => 1, + 'thumbnail' => $this->getThumbnail(), + 'body' => json_encode($this->getBody()), + ); + } + + private function getThumbnail() { + return $this->template_image_url . '/thumbnail.jpg'; + } + + private function getBody() { + return array ( + 'content' => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#27282e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '23px', + ), + ), + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#27282e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Guitarist-Logo.png', + 'alt' => 'Guitarist-Logo', + 'fullWidth' => false, + 'width' => '184px', + 'height' => '179px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '26px', + ), + ), + ), + 1 => + array ( + 'type' => 'social', + 'iconSet' => 'full-symbol-grey', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '25px', + ), + ), + ), + 1 => + array ( + 'type' => 'header', + 'text' => '

View in browser >

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#949494', + 'textDecoration' => 'underline', + ), + ), + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#27282e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '23px', + ), + ), + ), + ), + ), + ), + ), + 3 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Guitarist-Header.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#27282e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '700px', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '250px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Exit Stage Right

+

A brand new album releasing this summer on iTunes and Spotify

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Find out more', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#4c537e', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '95px', + 'lineHeight' => '30px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'fontWeight' => 'normal', + 'textAlign' => 'left', + ), + ), + ), + ), + ), + ), + ), + 4 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '130px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

My recording setup

+

A lot of people have been asking how I record my albums, so I thought I would write a quick blog post to explain

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Find out more', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#4c537e', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '95px', + 'lineHeight' => '30px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Guitarist-Images-1-1.jpg', + 'alt' => 'Guitarist-Images-1', + 'fullWidth' => true, + 'width' => '800px', + 'height' => '1000px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 5 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Guitarist-Images-2-1.jpg', + 'alt' => 'Guitarist-Images-2', + 'fullWidth' => true, + 'width' => '800px', + 'height' => '1000px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '130px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Life on the road

+

Not many people know what it\'s like to travel all over the world and perform every night in many different places

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Find out more', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#4c537e', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '95px', + 'lineHeight' => '30px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 6 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#27282e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

New tour dates

+

Come see me perform new tracks from the album

', + ), + 2 => + array ( + 'type' => 'divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '14px', + 'borderStyle' => 'dashed', + 'borderWidth' => '2px', + 'borderColor' => '#37383e', + ), + ), + ), + 3 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 7 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#27282e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'button', + 'text' => 'March 7th 2019', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#4c537e', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '288px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Metro Radio Arena - Newcastle Upon Tyne

', + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'button', + 'text' => 'March 8th 2019', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#4c537e', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '288px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

First Direct Arena

+

- Leeds

', + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'button', + 'text' => 'March 9th 2019', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#4c537e', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '288px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Liverpool Echo Arena - Liverpool

', + ), + ), + ), + ), + ), + 8 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#27282e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 9 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#27282e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'button', + 'text' => 'March 11th 2019', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#4c537e', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '288px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

The Brighton Centre - Brighton

', + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'button', + 'text' => 'March 12th 2019', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#4c537e', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '288px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Motorpoint Arena Nottingham - Nottingham

', + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'button', + 'text' => 'March 13th 2019', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#4c537e', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '288px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Motorpoint Arena Cardiff - Cardiff

', + ), + ), + ), + ), + ), + 10 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#27282e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '14px', + 'borderStyle' => 'dashed', + 'borderWidth' => '2px', + 'borderColor' => '#37383e', + ), + ), + ), + 1 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + ), + ), + ), + ), + 11 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#27282e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Guitarist-Logo.png', + 'alt' => 'Guitarist-Logo', + 'fullWidth' => true, + 'width' => '176px', + 'height' => '179px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'footer', + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#4c537e', + 'textDecoration' => 'none', + ), + ), + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'globalStyles' => + array ( + 'text' => + array ( + 'fontColor' => '#27282e', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '15px', + ), + 'h1' => + array ( + 'fontColor' => '#27282e', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '30px', + ), + 'h2' => + array ( + 'fontColor' => '#27282e', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '24px', + ), + 'h3' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '22px', + ), + 'link' => + array ( + 'fontColor' => '#21759B', + 'textDecoration' => 'underline', + ), + 'wrapper' => + array ( + 'backgroundColor' => '#ffffff', + ), + 'body' => + array ( + 'backgroundColor' => '#27282e', + ), + ), + 'blockDefaults' => + array ( + 'automatedLatestContent' => + array ( + 'amount' => '5', + 'withLayout' => false, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'belowTitle', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContent.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContent.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'automatedLatestContentLayout' => + array ( + 'amount' => '5', + 'withLayout' => true, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContentLayout.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContentLayout.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'button' => + array ( + 'text' => 'March 13th 2019', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#4c537e', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '288px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + 'type' => 'button', + ), + 'divider' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '14px', + 'borderStyle' => 'dashed', + 'borderWidth' => '2px', + 'borderColor' => '#37383e', + ), + ), + 'type' => 'divider', + ), + 'footer' => + array ( + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#4c537e', + 'textDecoration' => 'none', + ), + ), + 'type' => 'footer', + ), + 'posts' => + array ( + 'amount' => '10', + 'withLayout' => true, + 'contentType' => 'post', + 'postStatus' => 'publish', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'link', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'posts.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'posts.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'social' => + array ( + 'iconSet' => 'full-symbol-grey', + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + ), + 'type' => 'social', + ), + 'spacer' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + 'type' => 'spacer', + ), + 'header' => + array ( + 'text' => 'Display problems? Open this email in your web browser.', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#949494', + 'textDecoration' => 'underline', + ), + ), + 'type' => 'header', + ), + ), + ); + } + +} diff --git a/lib/Config/PopulatorData/Templates/JazzClub.php b/lib/Config/PopulatorData/Templates/JazzClub.php new file mode 100644 index 0000000000..eee8ca406a --- /dev/null +++ b/lib/Config/PopulatorData/Templates/JazzClub.php @@ -0,0 +1,1272 @@ +template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/jazz-club'; + $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; + } + + function get() { + return array( + 'name' => __("Jazz Club", 'mailpoet'), + 'categories' => json_encode(array('notification', 'all')), + 'readonly' => 1, + 'thumbnail' => $this->getThumbnail(), + 'body' => json_encode($this->getBody()), + ); + } + + private function getThumbnail() { + return $this->template_image_url . '/thumbnail.jpg'; + } + + private function getBody() { + return array ( + 'content' => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Jazz-Header.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#0b0821', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + 1 => + array ( + 'type' => 'header', + 'text' => '

View email in browser >

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Arial', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#898989', + 'textDecoration' => 'underline', + ), + ), + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 3 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Jazz-logo.png', + 'alt' => 'Jazz-logo', + 'fullWidth' => false, + 'width' => '324px', + 'height' => '607px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 4 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'social', + 'iconSet' => 'full-symbol-grey', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + 3 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'youtube', + 'link' => 'http://www.youtube.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Youtube.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Youtube', + ), + ), + ), + 1 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Jazz-Images-1.jpg', + 'alt' => 'Jazz-Images-1', + 'fullWidth' => false, + 'width' => '800px', + 'height' => '875px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

29th March 2019

+

James Patterson

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ut fringilla velit, id malesuada nisi. Nam ac rutrum diam. Nunc diam leo, bibendum eget aliquam eget, commodo vitae lectus.

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Get tickets', + 'url' => '[postLink]', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e30095', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '90px', + 'lineHeight' => '36px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Roboto', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'left', + ), + ), + ), + ), + ), + ), + ), + 3 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '35px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

14th April 2019

+

Samantha Morris

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ut fringilla velit, id malesuada nisi. Nam ac rutrum diam. Nunc diam leo, bibendum eget aliquam eget, commodo vitae lectus.

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Get tickets', + 'url' => '[postLink]', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e30095', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '90px', + 'lineHeight' => '36px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Roboto', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'right', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Jazz-Images-2.jpg', + 'alt' => 'Jazz-Images-2', + 'fullWidth' => false, + 'width' => '800px', + 'height' => '875px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 4 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Jazz-Images-3.jpg', + 'alt' => 'Jazz-Images-3', + 'fullWidth' => false, + 'width' => '800px', + 'height' => '875px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

3rd May 2019

+

Buster Smith

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ut fringilla velit, id malesuada nisi. Nam ac rutrum diam. Nunc diam leo, bibendum eget aliquam eget, commodo vitae lectus.

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Get tickets', + 'url' => '[postLink]', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e30095', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '90px', + 'lineHeight' => '36px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Roboto', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'left', + ), + ), + ), + ), + ), + ), + ), + 5 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 6 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ff7b0e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '34px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

J A Z Z  C L U B  P R E S E N T S

+

24th Jazz Festival

+

5 - 14 August 2018

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ut fringilla velit, id malesuada nisi. Nam ac rutrum diam. Nunc diam leo, bibendum eget aliquam eget, commodo vitae lectus.

+

', + ), + 2 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Jazz-Social.jpg', + 'alt' => 'Jazz-Social', + 'fullWidth' => true, + 'width' => '1200px', + 'height' => '193px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 7 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '34px', + ), + ), + ), + 1 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Jazz-logo.png', + 'alt' => 'Jazz-logo', + 'fullWidth' => false, + 'width' => '144px', + 'height' => '607px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 2 => + array ( + 'type' => 'footer', + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Roboto', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#e30095', + 'textDecoration' => 'none', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'globalStyles' => + array ( + 'text' => + array ( + 'fontColor' => '#848486', + 'fontFamily' => 'Roboto', + 'fontSize' => '14px', + ), + 'h1' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Arvo', + 'fontSize' => '26px', + ), + 'h2' => + array ( + 'fontColor' => '#e30095', + 'fontFamily' => 'Arvo', + 'fontSize' => '20px', + ), + 'h3' => + array ( + 'fontColor' => '#e30095', + 'fontFamily' => 'Arvo', + 'fontSize' => '22px', + ), + 'link' => + array ( + 'fontColor' => '#e30095', + 'textDecoration' => 'underline', + ), + 'wrapper' => + array ( + 'backgroundColor' => '#0b0821', + ), + 'body' => + array ( + 'backgroundColor' => '#0b0821', + ), + ), + 'blockDefaults' => + array ( + 'automatedLatestContent' => + array ( + 'amount' => '5', + 'withLayout' => false, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'belowTitle', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContent.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContent.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'automatedLatestContentLayout' => + array ( + 'amount' => '3', + 'withLayout' => true, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h3', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read the post', + 'url' => '[postLink]', + 'context' => 'automatedLatestContentLayout.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '160px', + 'lineHeight' => '30px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + 'type' => 'button', + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContentLayout.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + 'type' => 'divider', + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + 'type' => 'automatedLatestContentLayout', + 'terms' => + array ( + ), + ), + 'button' => + array ( + 'text' => 'Get tickets', + 'url' => '[postLink]', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e30095', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '90px', + 'lineHeight' => '36px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Roboto', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'left', + ), + ), + 'type' => 'button', + ), + 'divider' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + 'type' => 'divider', + ), + 'footer' => + array ( + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Roboto', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#e30095', + 'textDecoration' => 'none', + ), + ), + 'type' => 'footer', + ), + 'posts' => + array ( + 'amount' => '10', + 'withLayout' => true, + 'contentType' => 'post', + 'postStatus' => 'publish', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'left', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'link', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'posts.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + 'type' => 'button', + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'posts.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + 'type' => 'divider', + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + 'type' => 'posts', + 'offset' => 10, + 'terms' => + array ( + ), + 'search' => '', + ), + 'social' => + array ( + 'iconSet' => 'full-symbol-grey', + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + 3 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'youtube', + 'link' => 'http://www.youtube.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Youtube.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Youtube', + ), + ), + 'type' => 'social', + ), + 'spacer' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '34px', + ), + ), + 'type' => 'spacer', + ), + 'header' => + array ( + 'text' => 'Display problems? Open this email in your web browser.', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Arial', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#898989', + 'textDecoration' => 'underline', + ), + ), + 'type' => 'header', + ), + ), + ); + } + +} diff --git a/lib/Config/PopulatorData/Templates/Mosque.php b/lib/Config/PopulatorData/Templates/Mosque.php new file mode 100644 index 0000000000..75e1c21f0b --- /dev/null +++ b/lib/Config/PopulatorData/Templates/Mosque.php @@ -0,0 +1,1807 @@ +template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/mosque'; + $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; + } + + function get() { + return array( + 'name' => __("Mosque", 'mailpoet'), + 'categories' => json_encode(array('standard', 'all')), + 'readonly' => 1, + 'thumbnail' => $this->getThumbnail(), + 'body' => json_encode($this->getBody()), + ); + } + + private function getThumbnail() { + return $this->template_image_url . '/thumbnail.jpg'; + } + + private function getBody() { + return array ( + 'content' => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e3e3e3', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#009146', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'header', + 'text' => '

View email in browser >

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Open Sans', + 'fontSize' => '10px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#ffffff', + 'textDecoration' => 'none', + ), + ), + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Mosque-Header.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#333333', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '100px', + ), + ), + ), + 1 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Mosque-Logo.png', + 'alt' => 'Mosque-Logo', + 'fullWidth' => false, + 'width' => '182px', + 'height' => '119px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 2 => + array ( + 'type' => 'text', + 'text' => '

JANUARY 2019

+

Newsletter

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc scelerisque ut purus vel eleifend. Curabitur mollis nisi id mauris efficitur pretium.

', + ), + 3 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '90px', + ), + ), + ), + ), + ), + ), + ), + 3 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Upcoming Events

', + ), + ), + ), + ), + ), + 4 => + array ( + 'type' => 'container', + 'columnLayout' => '1_2', + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Mosque-Images-1.jpg', + 'alt' => 'Mosque-Images-1', + 'fullWidth' => false, + 'width' => '800px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

14th January 2019

+

The Four Imams

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc scelerisque ut purus vel eleifend. Curabitur mollis nisi id mauris.

+

Find out more >

', + ), + ), + ), + ), + ), + 5 => + array ( + 'type' => 'container', + 'columnLayout' => '1_2', + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Mosque-Images-2.jpg', + 'alt' => 'Mosque-Images-2', + 'fullWidth' => false, + 'width' => '800px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

23rd January 2019

+

Prayer Makes Perfect

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc scelerisque ut purus vel eleifend. Curabitur mollis nisi id mauris.

+

Find out more >

', + ), + ), + ), + ), + ), + 6 => + array ( + 'type' => 'container', + 'columnLayout' => '1_2', + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Mosque-Images-3.jpg', + 'alt' => 'Mosque-Images-3', + 'fullWidth' => false, + 'width' => '800px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

29th January 2019

+

Plaster Carving

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc scelerisque ut purus vel eleifend. Curabitur mollis nisi id mauris.

+

Find out more >

', + ), + ), + ), + ), + ), + 7 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 8 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#009146', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '5.5px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#009146', + ), + ), + ), + ), + ), + ), + ), + 9 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Prayer Times

', + ), + ), + ), + ), + ), + 10 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

Fajr

', + ), + 1 => + array ( + 'type' => 'button', + 'text' => '7.04pm', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#009146', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '288px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Open Sans', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

Sunrise

', + ), + 1 => + array ( + 'type' => 'button', + 'text' => '8.41am', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#009146', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '288px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Open Sans', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

Dhuhr

', + ), + 1 => + array ( + 'type' => 'button', + 'text' => '12.35pm', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#009146', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '288px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Open Sans', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 11 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 12 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

Asr

', + ), + 1 => + array ( + 'type' => 'button', + 'text' => '2.01pm', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#009146', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '288px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Open Sans', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

Maghrib

', + ), + 1 => + array ( + 'type' => 'button', + 'text' => '4.21pm', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#009146', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '288px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Open Sans', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

Isha\'a

', + ), + 1 => + array ( + 'type' => 'button', + 'text' => '5.58pm', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#009146', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '288px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Open Sans', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 13 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/bg-2.jpg', + 'alt' => 'bg-2', + 'fullWidth' => false, + 'width' => '1200px', + 'height' => '286px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 14 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#009146', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '24px', + ), + ), + ), + 1 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Mosque-Logo.png', + 'alt' => 'Mosque-Logo', + 'fullWidth' => false, + 'width' => '144px', + 'height' => '119px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 15 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e3e3e3', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '29px', + ), + ), + ), + 1 => + array ( + 'type' => 'social', + 'iconSet' => 'circles', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/03-circles/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/03-circles/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/03-circles/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'footer', + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Open Sans', + 'fontSize' => '11px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#009146', + 'textDecoration' => 'underline', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'globalStyles' => + array ( + 'text' => + array ( + 'fontColor' => '#333333', + 'fontFamily' => 'Open Sans', + 'fontSize' => '13px', + ), + 'h1' => + array ( + 'fontColor' => '#333333', + 'fontFamily' => 'Open Sans', + 'fontSize' => '30px', + ), + 'h2' => + array ( + 'fontColor' => '#333333', + 'fontFamily' => 'Open Sans', + 'fontSize' => '24px', + ), + 'h3' => + array ( + 'fontColor' => '#333333', + 'fontFamily' => 'Open Sans', + 'fontSize' => '22px', + ), + 'link' => + array ( + 'fontColor' => '#009146', + 'textDecoration' => 'underline', + ), + 'wrapper' => + array ( + 'backgroundColor' => '#ffffff', + ), + 'body' => + array ( + 'backgroundColor' => '#e3e3e3', + ), + ), + 'blockDefaults' => + array ( + 'automatedLatestContent' => + array ( + 'amount' => '5', + 'withLayout' => false, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'belowTitle', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContent.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContent.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'automatedLatestContentLayout' => + array ( + 'amount' => '5', + 'withLayout' => true, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContentLayout.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContentLayout.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'button' => + array ( + 'text' => '5.58pm', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#009146', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '288px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Open Sans', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + 'type' => 'button', + ), + 'divider' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '5.5px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#009146', + ), + ), + 'type' => 'divider', + ), + 'footer' => + array ( + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Open Sans', + 'fontSize' => '11px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#009146', + 'textDecoration' => 'underline', + ), + ), + 'type' => 'footer', + ), + 'posts' => + array ( + 'amount' => '10', + 'withLayout' => true, + 'contentType' => 'post', + 'postStatus' => 'publish', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'link', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'posts.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'posts.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'social' => + array ( + 'iconSet' => 'circles', + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/03-circles/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/03-circles/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/03-circles/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + ), + 'type' => 'social', + ), + 'spacer' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '29px', + ), + ), + 'type' => 'spacer', + ), + 'header' => + array ( + 'text' => 'Display problems? Open this email in your web browser.', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Open Sans', + 'fontSize' => '10px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#ffffff', + 'textDecoration' => 'none', + ), + ), + 'type' => 'header', + ), + ), + ); + } + +} diff --git a/lib/Config/PopulatorData/Templates/Motor.php b/lib/Config/PopulatorData/Templates/Motor.php new file mode 100644 index 0000000000..1d14b8a37b --- /dev/null +++ b/lib/Config/PopulatorData/Templates/Motor.php @@ -0,0 +1,1212 @@ +template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/motor'; + $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; + } + + function get() { + return array( + 'name' => __("Motor", 'mailpoet'), + 'categories' => json_encode(array('automatic', 'all')), + 'readonly' => 1, + 'thumbnail' => $this->getThumbnail(), + 'body' => json_encode($this->getBody()), + ); + } + + private function getThumbnail() { + return $this->template_image_url . '/thumbnail.jpg'; + } + + private function getBody() { + return array ( + 'content' => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e3e3e3', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e3e3e3', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '24px', + ), + ), + ), + 1 => + array ( + 'type' => 'social', + 'iconSet' => 'full-symbol-color', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/06-full-symbol-color/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/06-full-symbol-color/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'youtube', + 'link' => 'http://www.youtube.com', + 'image' => $this->social_icon_url . '/06-full-symbol-color/Youtube.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Youtube', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Welcome to Vector Motors

+

View email in browser >

', + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '24px', + ), + ), + ), + 1 => + array ( + 'type' => 'social', + 'iconSet' => 'full-symbol-color', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/06-full-symbol-color/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'email', + 'link' => '', + 'image' => $this->social_icon_url . '/06-full-symbol-color/Email.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Email', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'website', + 'link' => '', + 'image' => $this->social_icon_url . '/06-full-symbol-color/Website.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Website', + ), + ), + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => '2_1', + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Car-Header-2.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#d52a2a', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Car-Header-logo-1.png', + 'alt' => 'Car-Header-logo-1', + 'fullWidth' => false, + 'width' => '167.5px', + 'height' => '349px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'left', + ), + ), + ), + 1 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '118px', + ), + ), + ), + 2 => + array ( + 'type' => 'text', + 'text' => '

Welcome to the club

', + ), + 3 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '72px', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 3 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

You\'ve bought the car, here\'s what happens next.

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a elementum ex. Aliquam mollis metus ac nisl luctus pulvinar. Donec tincidunt pharetra sem, nec eleifend augue. Morbi id nunc commodo, tempor erat et, pretium neque.

+

+

Vivamus ante sapien, consequat vitae ante quis, facilisis pellentesque mi. Praesent at scelerisque leo. Donec elementum mi consequat, ultrices lorem nec, vestibulum arcu. Aenean id libero vitae felis consequat maximus.

', + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e3e3e3', + 'height' => '40px', + ), + ), + ), + ), + ), + ), + ), + 4 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e3e3e3', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

We\'re here to help

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a elementum ex. Aliquam mollis metus ac nisl luctus pulvinar. Donec tincidunt pharetra sem, nec eleifend augue. Morbi id nunc commodo, tempor erat et, pretium neque.

+

+

Get in touch with us here

', + ), + 1 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e3e3e3', + 'height' => '113px', + ), + ), + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + 'height' => '42px', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'button', + 'text' => 'Servicing Plans', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#d52a2a', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '176px', + 'lineHeight' => '50px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '18px', + 'fontWeight' => 'bold', + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e3e3e3', + 'height' => '30px', + ), + ), + ), + 2 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Car-Wheel.jpg', + 'alt' => 'Car-Wheel', + 'fullWidth' => true, + 'width' => '600px', + 'height' => '560px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 5 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

We\'ll be in touch soon with updates

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a elementum ex. Aliquam mollis metus ac nisl luctus pulvinar. Donec tincidunt pharetra sem, nec eleifend augue. Morbi id nunc commodo, tempor erat et, pretium neque.

', + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + 'height' => '35px', + ), + ), + ), + ), + ), + ), + ), + 6 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e3e3e3', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e3e3e3', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'footer', + 'text' => '

Unsubscribe | Manage your subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Arial', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#6cb7d4', + 'textDecoration' => 'none', + ), + ), + ), + 2 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Car-Footer.jpg', + 'alt' => 'Car-Footer', + 'fullWidth' => true, + 'width' => '1280px', + 'height' => '275px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 3 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#d52a2a', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'globalStyles' => + array ( + 'text' => + array ( + 'fontColor' => '#000000', + 'fontFamily' => 'Roboto', + 'fontSize' => '14px', + ), + 'h1' => + array ( + 'fontColor' => '#111111', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '30px', + ), + 'h2' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '24px', + ), + 'h3' => + array ( + 'fontColor' => '#333333', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '22px', + ), + 'link' => + array ( + 'fontColor' => '#d52a2a', + 'textDecoration' => 'underline', + ), + 'wrapper' => + array ( + 'backgroundColor' => '#ffffff', + ), + 'body' => + array ( + 'backgroundColor' => '#e3e3e3', + ), + ), + 'blockDefaults' => + array ( + 'automatedLatestContent' => + array ( + 'amount' => '5', + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'belowTitle', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContent.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContent.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'automatedLatestContentLayout' => + array ( + 'amount' => '5', + 'withLayout' => true, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContentLayout.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContentLayout.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'button' => + array ( + 'text' => 'Servicing Plans', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#d52a2a', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '176px', + 'lineHeight' => '50px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '18px', + 'fontWeight' => 'bold', + 'textAlign' => 'center', + ), + ), + 'type' => 'button', + ), + 'divider' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '18.5px', + 'borderStyle' => 'solid', + 'borderWidth' => '5px', + 'borderColor' => '#d52a2a', + ), + ), + 'type' => 'divider', + ), + 'footer' => + array ( + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Arial', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#6cb7d4', + 'textDecoration' => 'none', + ), + ), + 'type' => 'footer', + ), + 'posts' => + array ( + 'amount' => '10', + 'contentType' => 'post', + 'postStatus' => 'publish', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'belowTitle', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'link', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'posts.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'posts.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'social' => + array ( + 'iconSet' => 'full-symbol-color', + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/06-full-symbol-color/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'email', + 'link' => '', + 'image' => $this->social_icon_url . '/06-full-symbol-color/Email.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Email', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'website', + 'link' => '', + 'image' => $this->social_icon_url . '/06-full-symbol-color/Website.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Website', + ), + ), + 'type' => 'social', + ), + 'spacer' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '118px', + ), + ), + 'type' => 'spacer', + ), + 'header' => + array ( + 'text' => 'Display problems? Open this email in your web browser.', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#d52a2a', + 'textDecoration' => 'underline', + ), + ), + 'type' => 'header', + ), + ), + ); + } + +} diff --git a/lib/Config/PopulatorData/Templates/Painter.php b/lib/Config/PopulatorData/Templates/Painter.php new file mode 100644 index 0000000000..43166f9968 --- /dev/null +++ b/lib/Config/PopulatorData/Templates/Painter.php @@ -0,0 +1,1419 @@ +template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/painter'; + $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; + } + + function get() { + return array( + 'name' => __("Painter", 'mailpoet'), + 'categories' => json_encode(array('standard', 'all')), + 'readonly' => 1, + 'thumbnail' => $this->getThumbnail(), + 'body' => json_encode($this->getBody()), + ); + } + + private function getThumbnail() { + return $this->template_image_url . '/thumbnail.jpg'; + } + + private function getBody() { + return array ( + 'content' => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + 1 => + array ( + 'type' => 'header', + 'text' => '

View in browser >

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather', + 'fontSize' => '11px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#787878', + 'textDecoration' => 'none', + ), + ), + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Painter-Logo-bg.jpg', + 'display' => 'fit', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '78px', + ), + ), + ), + 1 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Painter-Logo.png', + 'alt' => 'Painter-Logo', + 'fullWidth' => false, + 'width' => '305.9375px', + 'height' => '93px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '78px', + ), + ), + ), + ), + ), + ), + ), + 3 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + ), + ), + ), + ), + 4 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

Reviews & Submissions

', + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

Essential Gear

', + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

Latest Commissions

', + ), + ), + ), + ), + ), + 5 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Painter-Header.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '100px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Welcome back

+

It\'s been a big month for the studio and we\'d love to show you some of our recent work.

', + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '35px', + ), + ), + ), + 3 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/186018-sktchy-2-nh-gutenCRALTBRBLOG.jpg', + 'alt' => '186018-sktchy-2-nh-gutenCRALTBRBLOG', + 'fullWidth' => false, + 'width' => '520px', + 'height' => '830px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '140px', + ), + ), + ), + 1 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/181215_2-laura-anderson-dog-fab-artistico-cpCRAltBRCRBlog.jpg', + 'alt' => '181215_2-laura-anderson-dog-fab-artistico-cpCRAltBRCRBlog', + 'fullWidth' => false, + 'width' => '180px', + 'height' => '1010px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + 3 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/170204_sktchy_BlackChickenBrushPen2CRBR.jpg', + 'alt' => '170204_sktchy_BlackChickenBrushPen2CRBR', + 'fullWidth' => false, + 'width' => '328px', + 'height' => '686px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 6 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Latest from the blog

', + ), + ), + ), + ), + ), + 7 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/1812231-sktchy-1-jon-coxwell-fabriano-cpCRFeat-394x252.jpg', + 'alt' => '1812231-sktchy-1-jon-coxwell-fabriano-cpCRFeat-394x252', + 'fullWidth' => false, + 'width' => '394px', + 'height' => '252px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Self-Assessment: 2018—Filling Journals, Using Up Paint

+

Read more >

', + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/180830-2018-fair-32-pigeon-fabri-300-hpCRAltBRFeat-394x252.jpg', + 'alt' => '180830-2018-fair-32-pigeon-fabri-300-hpCRAltBRFeat-394x252', + 'fullWidth' => false, + 'width' => '394px', + 'height' => '252px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Happy New Year 2019

+

Read more >

', + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/180828-sktchy-t-c-c-hahn-expressions-cpCRAltBRCRFeat-394x252.jpg', + 'alt' => '180828-sktchy-t-c-c-hahn-expressions-cpCRAltBRCRFeat-394x252', + 'fullWidth' => false, + 'width' => '394px', + 'height' => '252px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Roz’s 2018 Minnesota State Fair Journal

+

Read more >

', + ), + ), + ), + ), + ), + 8 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 9 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Painter-SocialBack.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '64px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Stay in touch

+

Keep up-to-date with all of the work from the studio

', + ), + 2 => + array ( + 'type' => 'social', + 'iconSet' => 'full-symbol-black', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/07-full-symbol-black/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/07-full-symbol-black/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/07-full-symbol-black/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + 3 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'youtube', + 'link' => 'http://www.youtube.com', + 'image' => $this->social_icon_url . '/07-full-symbol-black/Youtube.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Youtube', + ), + ), + ), + 3 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + ), + ), + ), + ), + 10 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Canvas Studio

+

Unsubscribe | Manage subscription
Add your postal address here!

', + ), + ), + ), + ), + ), + ), + ), + 'globalStyles' => + array ( + 'text' => + array ( + 'fontColor' => '#000000', + 'fontFamily' => 'Merriweather', + 'fontSize' => '14px', + ), + 'h1' => + array ( + 'fontColor' => '#111111', + 'fontFamily' => 'Merriweather', + 'fontSize' => '36px', + ), + 'h2' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather', + 'fontSize' => '24px', + ), + 'h3' => + array ( + 'fontColor' => '#333333', + 'fontFamily' => 'Merriweather', + 'fontSize' => '22px', + ), + 'link' => + array ( + 'fontColor' => '#585858', + 'textDecoration' => 'underline', + ), + 'wrapper' => + array ( + 'backgroundColor' => '#ffffff', + ), + 'body' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blockDefaults' => + array ( + 'automatedLatestContent' => + array ( + 'amount' => '5', + 'withLayout' => false, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'belowTitle', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContent.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContent.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'automatedLatestContentLayout' => + array ( + 'amount' => '5', + 'withLayout' => true, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContentLayout.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContentLayout.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'button' => + array ( + 'text' => 'Button', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'divider' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'footer' => + array ( + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#585858', + 'textDecoration' => 'none', + ), + ), + 'type' => 'footer', + ), + 'posts' => + array ( + 'amount' => '10', + 'withLayout' => true, + 'contentType' => 'post', + 'postStatus' => 'publish', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'link', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'posts.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'posts.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'social' => + array ( + 'iconSet' => 'full-symbol-black', + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/07-full-symbol-black/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/07-full-symbol-black/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/07-full-symbol-black/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + 3 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'youtube', + 'link' => 'http://www.youtube.com', + 'image' => $this->social_icon_url . '/07-full-symbol-black/Youtube.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Youtube', + ), + ), + 'type' => 'social', + ), + 'spacer' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '78px', + ), + ), + 'type' => 'spacer', + ), + 'header' => + array ( + 'text' => 'Display problems? Open this email in your web browser.', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather', + 'fontSize' => '11px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#787878', + 'textDecoration' => 'none', + ), + ), + 'type' => 'header', + ), + ), + ); + } + +} diff --git a/lib/Config/PopulatorData/Templates/Photography.php b/lib/Config/PopulatorData/Templates/Photography.php new file mode 100644 index 0000000000..d393056e3a --- /dev/null +++ b/lib/Config/PopulatorData/Templates/Photography.php @@ -0,0 +1,2116 @@ +template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/photography'; + $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; + } + + function get() { + return array( + 'name' => __("Photography", 'mailpoet'), + 'categories' => json_encode(array('standard', 'all')), + 'readonly' => 1, + 'thumbnail' => $this->getThumbnail(), + 'body' => json_encode($this->getBody()), + ); + } + + private function getThumbnail() { + return $this->template_image_url . '/thumbnail.jpg'; + } + + private function getBody() { + return array ( + 'content' => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + 1 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Photography-Logo.png', + 'alt' => 'Photography-Logo', + 'fullWidth' => false, + 'width' => '160px', + 'height' => '141px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'left', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '42px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

View online >

', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

The big photos from last week, straight to your inbox.

', + ), + ), + ), + ), + ), + 3 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + ), + ), + ), + ), + 4 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Photography-Images-1.jpg', + 'alt' => 'Photography-Images-1', + 'fullWidth' => true, + 'width' => '1200px', + 'height' => '800px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 5 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Canyon

+

📷 Brodie Vissers

', + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '25px', + ), + ), + ), + 1 => + array ( + 'type' => 'button', + 'text' => 'View all work', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#111111', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '140px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Courier New', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'right', + ), + ), + ), + ), + ), + ), + ), + 6 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '60px', + ), + ), + ), + ), + ), + ), + ), + 7 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Photography-Images-2.jpg', + 'alt' => 'Photography-Images-2', + 'fullWidth' => true, + 'width' => '1200px', + 'height' => '800px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 8 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Rooftopper

+

📷 Stan Johnson

', + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '25px', + ), + ), + ), + 1 => + array ( + 'type' => 'button', + 'text' => 'View all work', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#111111', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '140px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Courier New', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'right', + ), + ), + ), + ), + ), + ), + ), + 9 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '60px', + ), + ), + ), + ), + ), + ), + ), + 10 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Photography-Images-3.jpg', + 'alt' => 'Photography-Images-3', + 'fullWidth' => true, + 'width' => '1200px', + 'height' => '800px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 11 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Gold

+

📷 Nicole De Khors

', + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '25px', + ), + ), + ), + 1 => + array ( + 'type' => 'button', + 'text' => 'View all work', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#111111', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '140px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Courier New', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'right', + ), + ), + ), + ), + ), + ), + ), + 12 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '60px', + ), + ), + ), + ), + ), + ), + ), + 13 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

Fresh inspiration

', + ), + ), + ), + ), + ), + 14 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Photography-Squares-1.jpg', + 'alt' => 'Photography-Squares-1', + 'fullWidth' => true, + 'width' => '700px', + 'height' => '700px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Photography-Squares-2.jpg', + 'alt' => 'Photography-Squares-2', + 'fullWidth' => true, + 'width' => '700px', + 'height' => '700px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Photography-Squares-3.jpg', + 'alt' => 'Photography-Squares-3', + 'fullWidth' => true, + 'width' => '700px', + 'height' => '700px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 15 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Photography-Squares-4.jpg', + 'alt' => 'Photography-Squares-4', + 'fullWidth' => true, + 'width' => '700px', + 'height' => '700px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Photography-Squares-5.jpg', + 'alt' => 'Photography-Squares-5', + 'fullWidth' => true, + 'width' => '700px', + 'height' => '700px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Photography-Squares-6.jpg', + 'alt' => 'Photography-Squares-6', + 'fullWidth' => true, + 'width' => '700px', + 'height' => '700px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 16 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Photography-Squares-7.jpg', + 'alt' => 'Photography-Squares-7', + 'fullWidth' => true, + 'width' => '700px', + 'height' => '700px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Photography-Squares-8.jpg', + 'alt' => 'Photography-Squares-8', + 'fullWidth' => true, + 'width' => '700px', + 'height' => '700px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Photography-Squares-9.jpg', + 'alt' => 'Photography-Squares-9', + 'fullWidth' => true, + 'width' => '700px', + 'height' => '700px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 17 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '60px', + ), + ), + ), + ), + ), + ), + ), + 18 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'text', + 'text' => '

Stay focused

+

We\'re always keeping our social media feeds up to date with the latest images from our photographers. Check them out below.

', + ), + 1 => + array ( + 'type' => 'social', + 'iconSet' => 'full-symbol-grey', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + 3 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'youtube', + 'link' => 'http://www.youtube.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Youtube.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Youtube', + ), + ), + ), + ), + ), + ), + ), + 19 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '29px', + 'borderStyle' => 'solid', + 'borderWidth' => '2px', + 'borderColor' => '#2d2d2d', + ), + ), + ), + 1 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 2 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Photography-Logo.png', + 'alt' => 'Photography-Logo', + 'fullWidth' => false, + 'width' => '108px', + 'height' => '141px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 3 => + array ( + 'type' => 'footer', + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Courier New', + 'fontSize' => '13px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#ffffff', + 'textDecoration' => 'underline', + ), + ), + ), + 4 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'globalStyles' => + array ( + 'text' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Courier New', + 'fontSize' => '16px', + ), + 'h1' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '40px', + ), + 'h2' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '24px', + ), + 'h3' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '22px', + ), + 'link' => + array ( + 'fontColor' => '#ffffff', + 'textDecoration' => 'underline', + ), + 'wrapper' => + array ( + 'backgroundColor' => '#111111', + ), + 'body' => + array ( + 'backgroundColor' => '#111111', + ), + ), + 'blockDefaults' => + array ( + 'automatedLatestContent' => + array ( + 'amount' => '5', + 'withLayout' => false, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'belowTitle', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContent.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContent.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'automatedLatestContentLayout' => + array ( + 'amount' => '5', + 'withLayout' => true, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContentLayout.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContentLayout.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'button' => + array ( + 'text' => 'View all work', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#111111', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '140px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Courier New', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'right', + ), + ), + 'type' => 'button', + ), + 'divider' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '29px', + 'borderStyle' => 'solid', + 'borderWidth' => '2px', + 'borderColor' => '#2d2d2d', + ), + ), + 'type' => 'divider', + ), + 'footer' => + array ( + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Courier New', + 'fontSize' => '13px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#ffffff', + 'textDecoration' => 'underline', + ), + ), + 'type' => 'footer', + ), + 'posts' => + array ( + 'amount' => '10', + 'withLayout' => true, + 'contentType' => 'post', + 'postStatus' => 'publish', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'link', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'posts.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'posts.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'social' => + array ( + 'iconSet' => 'full-symbol-grey', + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + 3 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'youtube', + 'link' => 'http://www.youtube.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Youtube.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Youtube', + ), + ), + 'type' => 'social', + ), + 'spacer' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + 'type' => 'spacer', + ), + 'header' => + array ( + 'text' => 'Display problems? Open this email in your web browser.', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Arial', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#6cb7d4', + 'textDecoration' => 'underline', + ), + ), + ), + ), + ); + } + +} diff --git a/lib/Config/PopulatorData/Templates/Poet.php b/lib/Config/PopulatorData/Templates/Poet.php new file mode 100644 index 0000000000..9b8a55f39f --- /dev/null +++ b/lib/Config/PopulatorData/Templates/Poet.php @@ -0,0 +1,1256 @@ +template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/poet'; + $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; + } + + function get() { + return array( + 'name' => __("Poet", 'mailpoet'), + 'categories' => json_encode(array('welcome', 'all')), + 'readonly' => 1, + 'thumbnail' => $this->getThumbnail(), + 'body' => json_encode($this->getBody()), + ); + } + + private function getThumbnail() { + return $this->template_image_url . '/thumbnail.jpg'; + } + + private function getBody() { + return array ( + 'content' => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ebebeb', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Poet-Header.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ebebeb', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'header', + 'text' => '

View email in browser >

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'left', + ), + 'link' => + array ( + 'fontColor' => '#909090', + 'textDecoration' => 'none', + ), + ), + ), + 1 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '80px', + ), + ), + ), + 2 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Poet-Logo.png', + 'alt' => 'Poet-Logo', + 'fullWidth' => false, + 'width' => '166px', + 'height' => '144px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'left', + ), + ), + ), + 3 => + array ( + 'type' => 'text', + 'text' => '

Thanks for signing up!

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ut fringilla velit, id malesuada nisi. Nam ac rutrum diam.

', + ), + 4 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '160px', + ), + ), + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => '2_1', + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '66px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Latest p

+

The 26th of December

+

A Tuesday, day of Tiw,
god of war, dawns in darkness.
The short holiday day of talking by the fire,
floating on snowshoes among
ancient self-pollarded maples,
visiting, being visited, giving
a rain gauge, receiving red socks,
watching snow buntings nearly over
their heads in snow stab at spirtled bits
of sunflower seeds the chickadees
hold with their feet to a bough
and hack apart, scattering debris
like sloppy butchers, is over.
Irregular life begins. Telephone calls,
Google searches, evasive letters,
complicated arrangements, faxes,
second thoughts, consultations,
e-mails, solemnly given kisses.

', + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Poet-Images-1.jpg', + 'alt' => 'Poet-Images', + 'fullWidth' => true, + 'width' => '400px', + 'height' => '1200px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 3 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#393939', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

What did you think of this poem? Let me know on one of my social media channels.

', + ), + 2 => + array ( + 'type' => 'social', + 'iconSet' => 'full-symbol-grey', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'right', + ), + ), + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + ), + ), + ), + ), + ), + ), + 4 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Poetry books

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ut fringilla velit, id malesuada nisi. Nam ac rutrum diam.

', + ), + ), + ), + ), + ), + 5 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Poet-Books-1.png', + 'alt' => 'Poet-Books-1', + 'fullWidth' => false, + 'width' => '220px', + 'height' => '646px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'button', + 'text' => 'Buy online', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#393939', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Poet-Books-3.png', + 'alt' => 'Poet-Books-3', + 'fullWidth' => false, + 'width' => '600px', + 'height' => '646px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'button', + 'text' => 'Buy online', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#393939', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Poet-Books-2.png', + 'alt' => 'Poet-Books-2', + 'fullWidth' => false, + 'width' => '600px', + 'height' => '646px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'button', + 'text' => 'Buy online', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#393939', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 6 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + ), + ), + ), + ), + 7 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Poet-Logo.png', + 'alt' => 'Poet-Logo', + 'fullWidth' => false, + 'width' => '166px', + 'height' => '144px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'left', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'footer', + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#939393', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'right', + ), + 'link' => + array ( + 'fontColor' => '#333333', + 'textDecoration' => 'none', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'globalStyles' => + array ( + 'text' => + array ( + 'fontColor' => '#646464', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '14px', + ), + 'h1' => + array ( + 'fontColor' => '#393939', + 'fontFamily' => 'Merriweather', + 'fontSize' => '24px', + ), + 'h2' => + array ( + 'fontColor' => '#393939', + 'fontFamily' => 'Merriweather', + 'fontSize' => '30px', + ), + 'h3' => + array ( + 'fontColor' => '#646464', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '16px', + ), + 'link' => + array ( + 'fontColor' => '#393939', + 'textDecoration' => 'underline', + ), + 'wrapper' => + array ( + 'backgroundColor' => '#ebebeb', + ), + 'body' => + array ( + 'backgroundColor' => '#ebebeb', + ), + ), + 'blockDefaults' => + array ( + 'automatedLatestContent' => + array ( + 'amount' => '5', + 'withLayout' => false, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'belowTitle', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContent.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContent.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'automatedLatestContentLayout' => + array ( + 'amount' => '5', + 'withLayout' => true, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContentLayout.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContentLayout.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'button' => + array ( + 'text' => 'Buy online', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#393939', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + 'type' => 'button', + ), + 'divider' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'footer' => + array ( + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#939393', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'right', + ), + 'link' => + array ( + 'fontColor' => '#333333', + 'textDecoration' => 'none', + ), + ), + 'type' => 'footer', + ), + 'posts' => + array ( + 'amount' => '10', + 'withLayout' => true, + 'contentType' => 'post', + 'postStatus' => 'publish', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'link', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'posts.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'posts.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'social' => + array ( + 'iconSet' => 'full-symbol-grey', + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + ), + 'type' => 'social', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'right', + ), + ), + ), + 'spacer' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + 'type' => 'spacer', + ), + 'header' => + array ( + 'text' => 'Display problems? Open this email in your web browser.', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'left', + ), + 'link' => + array ( + 'fontColor' => '#909090', + 'textDecoration' => 'none', + ), + ), + 'type' => 'header', + ), + ), + ); + } + +} diff --git a/lib/Config/PopulatorData/Templates/RockBand.php b/lib/Config/PopulatorData/Templates/RockBand.php new file mode 100644 index 0000000000..63600d4438 --- /dev/null +++ b/lib/Config/PopulatorData/Templates/RockBand.php @@ -0,0 +1,1238 @@ +template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/rock-band'; + $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; + } + + function get() { + return array( + 'name' => __("Rock Band", 'mailpoet'), + 'categories' => json_encode(array('automatic', 'all')), + 'readonly' => 1, + 'thumbnail' => $this->getThumbnail(), + 'body' => json_encode($this->getBody()), + ); + } + + private function getThumbnail() { + return $this->template_image_url . '/thumbnail.jpg'; + } + + private function getBody() { + return array ( + 'content' => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#060d13', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/RockBand-Header-2.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#060d13', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'header', + 'text' => '

View email in browser >

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Courier New', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#7acff0', + 'textDecoration' => 'none', + ), + ), + ), + 1 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '315px', + ), + ), + ), + 2 => + array ( + 'type' => 'social', + 'iconSet' => 'full-symbol-grey', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + ), + ), + 3 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '48px', + ), + ), + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '29px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Free track download

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ut fringilla velit, id malesuada nisi. Nam ac rutrum diam. Nunc diam leo, bibendum eget aliquam eget, commodo vitae lectus

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Download now for free', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#152533', + 'borderColor' => '#7acff0', + 'borderWidth' => '2px', + 'borderRadius' => '40px', + 'borderStyle' => 'solid', + 'width' => '288px', + 'lineHeight' => '50px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Courier New', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 3 => + array ( + 'type' => 'divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '18.5px', + 'borderStyle' => 'double', + 'borderWidth' => '7px', + 'borderColor' => '#1c2f40', + ), + ), + ), + ), + ), + ), + ), + 3 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

We\'ve been busy in the studio

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ut fringilla velit, id malesuada nisi. Nam ac rutrum diam.

', + ), + ), + ), + ), + ), + 4 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/RockBand-Albums-2.jpg', + 'alt' => 'RockBand-Albums-2', + 'fullWidth' => false, + 'width' => '250px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Magnus Opium

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Buy now', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#7acff0', + 'borderColor' => '#7acff0', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '83px', + 'lineHeight' => '32px', + 'fontColor' => '#1c2f40', + 'fontFamily' => 'Courier New', + 'fontSize' => '14px', + 'fontWeight' => 'bold', + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/RockBand-Albums-1.jpg', + 'alt' => 'RockBand-Albums-1', + 'fullWidth' => false, + 'width' => '600px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Skeletal Bones

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Buy now', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#7acff0', + 'borderColor' => '#7acff0', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '83px', + 'lineHeight' => '32px', + 'fontColor' => '#1c2f40', + 'fontFamily' => 'Courier New', + 'fontSize' => '14px', + 'fontWeight' => 'bold', + 'textAlign' => 'center', + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/RockBand-Albums-3.jpg', + 'alt' => 'RockBand-Albums-3', + 'fullWidth' => false, + 'width' => '600px', + 'height' => '600px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Blinded by Vision

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Buy now', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#7acff0', + 'borderColor' => '#7acff0', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '83px', + 'lineHeight' => '32px', + 'fontColor' => '#1c2f40', + 'fontFamily' => 'Courier New', + 'fontSize' => '14px', + 'fontWeight' => 'bold', + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 5 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 6 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/RockBand-Tours.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#1c2f40', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '37px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

New Tour Dates

+

14th March - London, UK

+

15th March - Leeds, UK

+

16th March - Birmingham, UK

+

19th March - Manchester, UK

+

21st March - Glasgow, UK

', + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '144px', + ), + ), + ), + ), + ), + ), + ), + 7 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Bounce Rate

', + ), + 2 => + array ( + 'type' => 'footer', + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#aaaaaa', + 'fontFamily' => 'Courier New', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#7acff0', + 'textDecoration' => 'none', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'globalStyles' => + array ( + 'text' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Courier New', + 'fontSize' => '14px', + ), + 'h1' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Courier New', + 'fontSize' => '30px', + ), + 'h2' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Courier New', + 'fontSize' => '24px', + ), + 'h3' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Courier New', + 'fontSize' => '20px', + ), + 'link' => + array ( + 'fontColor' => '#7acff0', + 'textDecoration' => 'underline', + ), + 'wrapper' => + array ( + 'backgroundColor' => '#060d13', + ), + 'body' => + array ( + 'backgroundColor' => '#060d13', + ), + ), + 'blockDefaults' => + array ( + 'automatedLatestContent' => + array ( + 'amount' => '5', + 'withLayout' => false, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'belowTitle', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContent.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContent.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'automatedLatestContentLayout' => + array ( + 'amount' => '5', + 'withLayout' => true, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContentLayout.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContentLayout.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'button' => + array ( + 'text' => 'Buy now', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#7acff0', + 'borderColor' => '#7acff0', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '83px', + 'lineHeight' => '32px', + 'fontColor' => '#1c2f40', + 'fontFamily' => 'Courier New', + 'fontSize' => '14px', + 'fontWeight' => 'bold', + 'textAlign' => 'center', + ), + ), + 'type' => 'button', + ), + 'divider' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '18.5px', + 'borderStyle' => 'double', + 'borderWidth' => '7px', + 'borderColor' => '#1c2f40', + ), + ), + 'type' => 'divider', + ), + 'footer' => + array ( + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#aaaaaa', + 'fontFamily' => 'Courier New', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#7acff0', + 'textDecoration' => 'none', + ), + ), + 'type' => 'footer', + ), + 'posts' => + array ( + 'amount' => '10', + 'withLayout' => true, + 'contentType' => 'post', + 'postStatus' => 'publish', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'link', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'posts.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'posts.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'social' => + array ( + 'iconSet' => 'full-symbol-grey', + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + ), + 'type' => 'social', + ), + 'spacer' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + 'type' => 'spacer', + ), + 'header' => + array ( + 'text' => 'Display problems? Open this email in your web browser.', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Courier New', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#7acff0', + 'textDecoration' => 'none', + ), + ), + 'type' => 'header', + ), + ), + ); + } + +} diff --git a/lib/Config/PopulatorData/Templates/Synagogue.php b/lib/Config/PopulatorData/Templates/Synagogue.php new file mode 100644 index 0000000000..954ec540bf --- /dev/null +++ b/lib/Config/PopulatorData/Templates/Synagogue.php @@ -0,0 +1,1801 @@ +template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/synagogue'; + $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; + } + + function get() { + return array( + 'name' => __("Synagogue", 'mailpoet'), + 'categories' => json_encode(array('standard', 'all')), + 'readonly' => 1, + 'thumbnail' => $this->getThumbnail(), + 'body' => json_encode($this->getBody()), + ); + } + + private function getThumbnail() { + return $this->template_image_url . '/thumbnail.jpg'; + } + + private function getBody() { + return array ( + 'content' => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2b3d5e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'header', + 'text' => '

View email in browser >

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'left', + ), + 'link' => + array ( + 'fontColor' => '#7386a7', + 'textDecoration' => 'underline', + ), + ), + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#384e76', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#04aeb9', + 'padding' => '7.5px', + 'borderStyle' => 'dashed', + 'borderWidth' => '2px', + 'borderColor' => '#0d7e85', + ), + ), + ), + 1 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => '1_2', + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#384e76', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Synagogue-Logo.png', + 'alt' => 'Synagogue-Logo', + 'fullWidth' => false, + 'width' => '180px', + 'height' => '208px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'left', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '27px', + ), + ), + ), + 1 => + array ( + 'type' => 'social', + 'iconSet' => 'full-symbol-grey', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + ), + ), + ), + ), + ), + ), + 3 => + array ( + 'type' => 'container', + 'columnLayout' => '1_2', + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Synagogue-Header-2.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#384e76', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '140px', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '44px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Welcome back

+

This month we\'ll be discussing important topics around our faith, and highlighting some events that you may be interested in.

', + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '38px', + ), + ), + ), + 3 => + array ( + 'type' => 'text', + 'text' => '

S P E C I A L  E V E N T

+

Stories In Song

+

An afternoon of comedy and music with Daniel Cainer. This multi-award-winning master-songwriter and great musician brings our family trees to life.

', + ), + 4 => + array ( + 'type' => 'button', + 'text' => 'Tickets available here', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#04aeb9', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '175px', + 'lineHeight' => '38px', + 'fontColor' => '#093c3f', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '14px', + 'fontWeight' => 'bold', + 'textAlign' => 'left', + ), + ), + ), + 5 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '43px', + ), + ), + ), + ), + ), + ), + ), + 4 => + array ( + 'type' => 'container', + 'columnLayout' => '1_2', + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Synagogue-Back-1.jpg', + 'display' => 'tile', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + 1 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/male-18.jpg', + 'alt' => 'male-18', + 'fullWidth' => false, + 'width' => '150px', + 'height' => '360px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'right', + ), + ), + ), + 2 => + array ( + 'type' => 'text', + 'text' => '

Ariel Abel

+

Princes Road Synagogue Rabbi 

', + ), + 3 => + array ( + 'type' => 'button', + 'text' => 'Get in touch', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#04aeb9', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '90px', + 'lineHeight' => '30px', + 'fontColor' => '#093c3f', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'fontWeight' => 'bold', + 'textAlign' => 'right', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Greetings from our Rabbi 

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pellentesque magna erat, vitae ultricies eros porttitor eleifend. Fusce luctus accumsan risus, at rhoncus ante vehicula in. Praesent ut ultricies ipsum. Sed lacus dolor, laoreet nec tincidunt ut, commodo nec augue. In dignissim justo eget ante facilisis ornare.

+

+

Cras in lacus ac lectus hendrerit porta. Morbi pretium id nisi eget placerat. Integer nec quam nec augue luctus facilisis. Nam sollicitudin velit nec risus mattis, quis porttitor tortor consequat. Vivamus nec justo vel lectus pharetra volutpat.

+

+

Quisque eget vestibulum quam, eu fermentum ipsum.

', + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 5 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#384e76', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#04aeb9', + 'padding' => '6.5px', + 'borderStyle' => 'dashed', + 'borderWidth' => '2px', + 'borderColor' => '#04aeb9', + ), + ), + ), + ), + ), + ), + ), + 6 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Latest News

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pellentesque magna erat, vitae ultricies eros porttitor eleifend.

', + ), + ), + ), + ), + ), + 7 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Synagogue-Images-1.jpg', + 'alt' => 'Synagogue-Images-1', + 'fullWidth' => false, + 'width' => '800px', + 'height' => '500px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Building work started this week

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pellentesque magna erat.

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Read more', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#04aeb9', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '81px', + 'lineHeight' => '30px', + 'fontColor' => '#093c3f', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'fontWeight' => 'bold', + 'textAlign' => 'left', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Synagogue-Images-2.jpg', + 'alt' => 'Synagogue-Images-2', + 'fullWidth' => false, + 'width' => '800px', + 'height' => '500px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

What\'s life like as a Jewish teenager?

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pellentesque magna erat.

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Read more', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#04aeb9', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '81px', + 'lineHeight' => '30px', + 'fontColor' => '#093c3f', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'fontWeight' => 'bold', + 'textAlign' => 'left', + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Synagogue-Images-3.jpg', + 'alt' => 'Synagogue-Images-3', + 'fullWidth' => false, + 'width' => '800px', + 'height' => '500px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

The life of paper in a modern world

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pellentesque magna erat.

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Read more', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#04aeb9', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '81px', + 'lineHeight' => '30px', + 'fontColor' => '#093c3f', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'fontWeight' => 'bold', + 'textAlign' => 'left', + ), + ), + ), + ), + ), + ), + ), + 8 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 9 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2b3d5e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + ), + ), + ), + ), + 10 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#04aeb9', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '40px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Keep in touch with us

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pellentesque magna erat, vitae ultricies eros porttitor eleifend.

', + ), + 2 => + array ( + 'type' => 'social', + 'iconSet' => 'full-symbol-grey', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + ), + ), + 3 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 11 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2b3d5e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + ), + ), + ), + ), + 12 => + array ( + 'type' => 'container', + 'columnLayout' => '1_2', + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2b3d5e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Synagogue-Logo.png', + 'alt' => 'Synagogue-Logo', + 'fullWidth' => false, + 'width' => '180px', + 'height' => '208px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'left', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'footer', + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'right', + ), + 'link' => + array ( + 'fontColor' => '#04aeb9', + 'textDecoration' => 'underline', + ), + ), + ), + ), + ), + ), + ), + 13 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2b3d5e', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'globalStyles' => + array ( + 'text' => + array ( + 'fontColor' => '#000000', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '13px', + ), + 'h1' => + array ( + 'fontColor' => '#111111', + 'fontFamily' => 'Merriweather', + 'fontSize' => '30px', + ), + 'h2' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather', + 'fontSize' => '24px', + ), + 'h3' => + array ( + 'fontColor' => '#333333', + 'fontFamily' => 'Merriweather', + 'fontSize' => '18px', + ), + 'link' => + array ( + 'fontColor' => '#21759B', + 'textDecoration' => 'underline', + ), + 'wrapper' => + array ( + 'backgroundColor' => '#ffffff', + ), + 'body' => + array ( + 'backgroundColor' => '#2b3d5e', + ), + ), + 'blockDefaults' => + array ( + 'automatedLatestContent' => + array ( + 'amount' => '5', + 'withLayout' => false, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'belowTitle', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContent.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContent.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'automatedLatestContentLayout' => + array ( + 'amount' => '5', + 'withLayout' => true, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContentLayout.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContentLayout.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'button' => + array ( + 'text' => 'Get in touch', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#04aeb9', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '90px', + 'lineHeight' => '30px', + 'fontColor' => '#093c3f', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'fontWeight' => 'bold', + 'textAlign' => 'right', + ), + ), + 'type' => 'button', + ), + 'divider' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#04aeb9', + 'padding' => '6.5px', + 'borderStyle' => 'dashed', + 'borderWidth' => '2px', + 'borderColor' => '#04aeb9', + ), + ), + 'type' => 'divider', + ), + 'footer' => + array ( + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'right', + ), + 'link' => + array ( + 'fontColor' => '#04aeb9', + 'textDecoration' => 'underline', + ), + ), + 'type' => 'footer', + ), + 'posts' => + array ( + 'amount' => '10', + 'withLayout' => true, + 'contentType' => 'post', + 'postStatus' => 'publish', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'link', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'posts.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'posts.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'social' => + array ( + 'iconSet' => 'full-symbol-grey', + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + ), + 'type' => 'social', + ), + 'spacer' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '30px', + ), + ), + 'type' => 'spacer', + ), + 'header' => + array ( + 'text' => 'Display problems? Open this email in your web browser.', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'left', + ), + 'link' => + array ( + 'fontColor' => '#7386a7', + 'textDecoration' => 'underline', + ), + ), + 'type' => 'header', + ), + ), + ); + } + +} diff --git a/lib/Config/PopulatorData/Templates/Vlogger.php b/lib/Config/PopulatorData/Templates/Vlogger.php new file mode 100644 index 0000000000..b9895d50a1 --- /dev/null +++ b/lib/Config/PopulatorData/Templates/Vlogger.php @@ -0,0 +1,1426 @@ +template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/vlogger'; + $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; + } + + function get() { + return array( + 'name' => __("Vlogger", 'mailpoet'), + 'categories' => json_encode(array('notification', 'all')), + 'readonly' => 1, + 'thumbnail' => $this->getThumbnail(), + 'body' => json_encode($this->getBody()), + ); + } + + private function getThumbnail() { + return $this->template_image_url . '/thumbnail.jpg'; + } + + private function getBody() { + return array ( + 'content' => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '25px', + ), + ), + ), + 1 => + array ( + 'type' => 'header', + 'text' => '

View email in browser >

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#aaaaaa', + 'textDecoration' => 'none', + ), + ), + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Vlogger-Header.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#f3ba25', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '180px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

STACEY

', + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '145px', + ), + ), + ), + ), + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#5527a6', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Vlogging About Beauty, Fashion, Life Hacks & My Life

', + ), + ), + ), + ), + ), + 3 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '50px', + ), + ), + ), + ), + ), + ), + ), + 4 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Vlogger-Youtube.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#7b0000', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '63px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

L A T E S T  V I D E O

+

Roses are red...

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ut fringilla velit, id malesuada nisi. Nam ac rutrum diam. Nunc diam leo, bibendum eget aliquam eget, commodo vitae lectus.

', + ), + 2 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Vlogger-PlayButton.png', + 'alt' => 'Vlogger-PlayButton', + 'fullWidth' => false, + 'width' => '50px', + 'height' => '400px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 3 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 5 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e9e9e9', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Vlogger-Images-1.jpg', + 'alt' => 'Vlogger-Images-1', + 'fullWidth' => true, + 'width' => '800px', + 'height' => '500px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 2 => + array ( + 'type' => 'text', + 'text' => '

Mixing it up

', + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Vlogger-Images-2.jpg', + 'alt' => 'Vlogger-Images-2', + 'fullWidth' => true, + 'width' => '800px', + 'height' => '500px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 2 => + array ( + 'type' => 'text', + 'text' => '

Front row seats!

', + ), + ), + ), + 2 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'image', + 'link' => '', + 'src' => $this->template_image_url . '/Vlogger-Images-3.jpg', + 'alt' => 'Vlogger-Images-3', + 'fullWidth' => true, + 'width' => '800px', + 'height' => '500px', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + ), + 1 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 2 => + array ( + 'type' => 'text', + 'text' => '

Max has a birthday!

', + ), + ), + ), + ), + ), + 6 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#e9e9e9', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'button', + 'text' => 'Check out all my latest videos', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#5527a6', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '225px', + 'lineHeight' => '50px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + ), + ), + ), + ), + 7 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => $this->template_image_url . '/Vlogger-WhoAmI.jpg', + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '109px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

This is my story

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ut fringilla velit, id malesuada nisi. Nam ac rutrum diam. Nunc diam leo, bibendum eget aliquam eget, commodo vitae lectus.

', + ), + 2 => + array ( + 'type' => 'button', + 'text' => 'Go to my Youtube Page', + 'url' => '', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#5527a6', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '183px', + 'lineHeight' => '50px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'left', + ), + ), + ), + 3 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '71px', + ), + ), + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + 8 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#5527a6', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

Never miss a thing

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ut fringilla velit, id malesuada nisi. Nam ac rutrum diam. Nunc diam leo, bibendum eget aliquam eget, commodo vitae lectus.

', + ), + 2 => + array ( + 'type' => 'social', + 'iconSet' => 'full-symbol-grey', + 'styles' => + array ( + 'block' => + array ( + 'textAlign' => 'center', + ), + ), + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'youtube', + 'link' => 'http://www.youtube.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Youtube.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Youtube', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 3 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + ), + ), + ), + ), + ), + ), + 9 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'horizontal', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#3a147d', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '32px', + ), + ), + ), + 1 => + array ( + 'type' => 'text', + 'text' => '

STACEY

', + ), + ), + ), + 1 => + array ( + 'type' => 'container', + 'columnLayout' => false, + 'orientation' => 'vertical', + 'image' => + array ( + 'src' => NULL, + 'display' => 'scale', + ), + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + ), + 'blocks' => + array ( + 0 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + 1 => + array ( + 'type' => 'footer', + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#9d82cd', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'right', + ), + 'link' => + array ( + 'fontColor' => '#ffffff', + 'textDecoration' => 'none', + ), + ), + ), + 2 => + array ( + 'type' => 'spacer', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '20px', + ), + ), + ), + ), + ), + ), + ), + ), + ), + 'globalStyles' => + array ( + 'text' => + array ( + 'fontColor' => '#000000', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '14px', + ), + 'h1' => + array ( + 'fontColor' => '#111111', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '30px', + ), + 'h2' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '24px', + ), + 'h3' => + array ( + 'fontColor' => '#333333', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '22px', + ), + 'link' => + array ( + 'fontColor' => '#5527a6', + 'textDecoration' => 'underline', + ), + 'wrapper' => + array ( + 'backgroundColor' => '#ffffff', + ), + 'body' => + array ( + 'backgroundColor' => '#ffffff', + ), + ), + 'blockDefaults' => + array ( + 'automatedLatestContent' => + array ( + 'amount' => '5', + 'withLayout' => false, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'belowTitle', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'automatedLatestContent.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContent.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'automatedLatestContentLayout' => + array ( + 'amount' => '3', + 'withLayout' => true, + 'contentType' => 'post', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h3', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'button', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read the post', + 'url' => '[postLink]', + 'context' => 'automatedLatestContentLayout.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '160px', + 'lineHeight' => '30px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '16px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + 'type' => 'button', + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'automatedLatestContentLayout.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + 'type' => 'divider', + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + 'type' => 'automatedLatestContentLayout', + 'terms' => + array ( + ), + ), + 'button' => + array ( + 'text' => 'Read the post', + 'url' => '[postLink]', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#5527a6', + 'borderColor' => '#0074a2', + 'borderWidth' => '0px', + 'borderRadius' => '0px', + 'borderStyle' => 'solid', + 'width' => '225px', + 'lineHeight' => '50px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '14px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + 'type' => 'button', + ), + 'divider' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#ffffff', + ), + ), + 'type' => 'divider', + ), + 'footer' => + array ( + 'text' => '

Unsubscribe | Manage subscription
Add your postal address here!

', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#9d82cd', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'right', + ), + 'link' => + array ( + 'fontColor' => '#ffffff', + 'textDecoration' => 'none', + ), + ), + 'type' => 'footer', + ), + 'posts' => + array ( + 'amount' => '10', + 'withLayout' => true, + 'contentType' => 'post', + 'postStatus' => 'publish', + 'inclusionType' => 'include', + 'displayType' => 'excerpt', + 'titleFormat' => 'h1', + 'titleAlignment' => 'left', + 'titleIsLink' => false, + 'imageFullWidth' => false, + 'featuredImagePosition' => 'alternate', + 'showAuthor' => 'no', + 'authorPrecededBy' => 'Author:', + 'showCategories' => 'no', + 'categoriesPrecededBy' => 'Categories:', + 'readMoreType' => 'link', + 'readMoreText' => 'Read more', + 'readMoreButton' => + array ( + 'text' => 'Read more', + 'url' => '[postLink]', + 'context' => 'posts.readMoreButton', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => '#2ea1cd', + 'borderColor' => '#0074a2', + 'borderWidth' => '1px', + 'borderRadius' => '5px', + 'borderStyle' => 'solid', + 'width' => '180px', + 'lineHeight' => '40px', + 'fontColor' => '#ffffff', + 'fontFamily' => 'Verdana', + 'fontSize' => '18px', + 'fontWeight' => 'normal', + 'textAlign' => 'center', + ), + ), + ), + 'sortBy' => 'newest', + 'showDivider' => true, + 'divider' => + array ( + 'context' => 'posts.divider', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'padding' => '13px', + 'borderStyle' => 'solid', + 'borderWidth' => '3px', + 'borderColor' => '#aaaaaa', + ), + ), + ), + 'backgroundColor' => '#ffffff', + 'backgroundColorAlternate' => '#eeeeee', + ), + 'social' => + array ( + 'iconSet' => 'full-symbol-grey', + 'icons' => + array ( + 0 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'youtube', + 'link' => 'http://www.youtube.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Youtube.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Youtube', + ), + 1 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'instagram', + 'link' => 'http://instagram.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Instagram', + ), + 2 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'twitter', + 'link' => 'http://www.twitter.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Twitter', + ), + 3 => + array ( + 'type' => 'socialIcon', + 'iconType' => 'facebook', + 'link' => 'http://www.facebook.com', + 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png', + 'height' => '32px', + 'width' => '32px', + 'text' => 'Facebook', + ), + ), + 'type' => 'social', + ), + 'spacer' => + array ( + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + 'height' => '32px', + ), + ), + 'type' => 'spacer', + ), + 'header' => + array ( + 'text' => 'Display problems? Open this email in your web browser.', + 'styles' => + array ( + 'block' => + array ( + 'backgroundColor' => 'transparent', + ), + 'text' => + array ( + 'fontColor' => '#222222', + 'fontFamily' => 'Merriweather Sans', + 'fontSize' => '12px', + 'textAlign' => 'center', + ), + 'link' => + array ( + 'fontColor' => '#aaaaaa', + 'textDecoration' => 'none', + ), + ), + 'type' => 'header', + ), + ), + ); + } + +} diff --git a/plugin_repository/assets/newsletter-templates/birds/580b57fbd9996e24bc43bb61.png b/plugin_repository/assets/newsletter-templates/birds/580b57fbd9996e24bc43bb61.png new file mode 100644 index 0000000000..2f67fdb885 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/birds/580b57fbd9996e24bc43bb61.png differ diff --git a/plugin_repository/assets/newsletter-templates/birds/Birds-Header-2.jpg b/plugin_repository/assets/newsletter-templates/birds/Birds-Header-2.jpg new file mode 100644 index 0000000000..e44ec4c3ef Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/birds/Birds-Header-2.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/birds/Birds-Images-1.jpg b/plugin_repository/assets/newsletter-templates/birds/Birds-Images-1.jpg new file mode 100644 index 0000000000..30ce67e80b Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/birds/Birds-Images-1.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/birds/Birds-Images-2.jpg b/plugin_repository/assets/newsletter-templates/birds/Birds-Images-2.jpg new file mode 100644 index 0000000000..a775d7dd44 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/birds/Birds-Images-2.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/birds/Birds-Images-3.jpg b/plugin_repository/assets/newsletter-templates/birds/Birds-Images-3.jpg new file mode 100644 index 0000000000..04a4c942f2 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/birds/Birds-Images-3.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/birds/Birds-Images-4.jpg b/plugin_repository/assets/newsletter-templates/birds/Birds-Images-4.jpg new file mode 100644 index 0000000000..86e3b1a51a Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/birds/Birds-Images-4.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/birds/Birds-Images-5.jpg b/plugin_repository/assets/newsletter-templates/birds/Birds-Images-5.jpg new file mode 100644 index 0000000000..672f85d240 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/birds/Birds-Images-5.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/birds/Birds-Images-6.jpg b/plugin_repository/assets/newsletter-templates/birds/Birds-Images-6.jpg new file mode 100644 index 0000000000..1639163ce9 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/birds/Birds-Images-6.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/birds/Birds-Images-7.jpg b/plugin_repository/assets/newsletter-templates/birds/Birds-Images-7.jpg new file mode 100644 index 0000000000..c7a9cf59c9 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/birds/Birds-Images-7.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/birds/Birds-Logo-1.png b/plugin_repository/assets/newsletter-templates/birds/Birds-Logo-1.png new file mode 100644 index 0000000000..3ff85bc7a3 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/birds/Birds-Logo-1.png differ diff --git a/plugin_repository/assets/newsletter-templates/birds/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/birds/thumbnail.jpg new file mode 100644 index 0000000000..2cab28abf5 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/birds/thumbnail.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/buddhist-temple/5bafccfc554c7f08176ec084.png b/plugin_repository/assets/newsletter-templates/buddhist-temple/5bafccfc554c7f08176ec084.png new file mode 100644 index 0000000000..f1461c9292 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/buddhist-temple/5bafccfc554c7f08176ec084.png differ diff --git a/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Avatar.jpg b/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Avatar.jpg new file mode 100644 index 0000000000..a9b7a33e49 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Avatar.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Header.jpg b/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Header.jpg new file mode 100644 index 0000000000..6b4a4f34c0 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Header.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Images-1.jpg b/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Images-1.jpg new file mode 100644 index 0000000000..b88e13d4a4 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Images-1.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Images-2.jpg b/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Images-2.jpg new file mode 100644 index 0000000000..caec6815c0 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Images-2.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Images-3.jpg b/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Images-3.jpg new file mode 100644 index 0000000000..25f79779f4 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Images-3.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Logo.png b/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Logo.png new file mode 100644 index 0000000000..13c803a0a0 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Logo.png differ diff --git a/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Social.jpg b/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Social.jpg new file mode 100644 index 0000000000..bd9486b2c3 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/buddhist-temple/Buddhist-Social.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/buddhist-temple/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/buddhist-temple/thumbnail.jpg new file mode 100644 index 0000000000..73092ee863 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/buddhist-temple/thumbnail.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/fashion-blog/Fashion-Gift.jpg b/plugin_repository/assets/newsletter-templates/fashion-blog/Fashion-Gift.jpg new file mode 100644 index 0000000000..284cdba492 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-blog/Fashion-Gift.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/fashion-blog/Fashion-Header.jpg b/plugin_repository/assets/newsletter-templates/fashion-blog/Fashion-Header.jpg new file mode 100644 index 0000000000..e92160d000 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-blog/Fashion-Header.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/fashion-blog/Fashion-Logo-1.png b/plugin_repository/assets/newsletter-templates/fashion-blog/Fashion-Logo-1.png new file mode 100644 index 0000000000..013f208754 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-blog/Fashion-Logo-1.png differ diff --git a/plugin_repository/assets/newsletter-templates/fashion-blog/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/fashion-blog/thumbnail.jpg new file mode 100644 index 0000000000..fd5aa21e87 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-blog/thumbnail.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/guitarist/Guitarist-Header.jpg b/plugin_repository/assets/newsletter-templates/guitarist/Guitarist-Header.jpg new file mode 100644 index 0000000000..1d44dc53bd Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/guitarist/Guitarist-Header.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/guitarist/Guitarist-Images-1-1.jpg b/plugin_repository/assets/newsletter-templates/guitarist/Guitarist-Images-1-1.jpg new file mode 100644 index 0000000000..eef4cd333c Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/guitarist/Guitarist-Images-1-1.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/guitarist/Guitarist-Images-2-1.jpg b/plugin_repository/assets/newsletter-templates/guitarist/Guitarist-Images-2-1.jpg new file mode 100644 index 0000000000..3be414bc96 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/guitarist/Guitarist-Images-2-1.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/guitarist/Guitarist-Logo.png b/plugin_repository/assets/newsletter-templates/guitarist/Guitarist-Logo.png new file mode 100644 index 0000000000..30b2b08a70 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/guitarist/Guitarist-Logo.png differ diff --git a/plugin_repository/assets/newsletter-templates/guitarist/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/guitarist/thumbnail.jpg new file mode 100644 index 0000000000..6d30be31d4 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/guitarist/thumbnail.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-Header.jpg b/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-Header.jpg new file mode 100644 index 0000000000..1a154d042c Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-Header.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-Images-1.jpg b/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-Images-1.jpg new file mode 100644 index 0000000000..e98c00cbdf Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-Images-1.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-Images-2.jpg b/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-Images-2.jpg new file mode 100644 index 0000000000..9f36f63555 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-Images-2.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-Images-3.jpg b/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-Images-3.jpg new file mode 100644 index 0000000000..13d88ca7c4 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-Images-3.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-Social.jpg b/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-Social.jpg new file mode 100644 index 0000000000..abd2f74a7d Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-Social.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-logo.png b/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-logo.png new file mode 100644 index 0000000000..25a9daec93 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/jazz-club/Jazz-logo.png differ diff --git a/plugin_repository/assets/newsletter-templates/jazz-club/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/jazz-club/thumbnail.jpg new file mode 100644 index 0000000000..295d94d964 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/jazz-club/thumbnail.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/mosque/Mosque-Header.jpg b/plugin_repository/assets/newsletter-templates/mosque/Mosque-Header.jpg new file mode 100644 index 0000000000..27e14ac6e3 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/mosque/Mosque-Header.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/mosque/Mosque-Images-1.jpg b/plugin_repository/assets/newsletter-templates/mosque/Mosque-Images-1.jpg new file mode 100644 index 0000000000..4c534e04c8 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/mosque/Mosque-Images-1.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/mosque/Mosque-Images-2.jpg b/plugin_repository/assets/newsletter-templates/mosque/Mosque-Images-2.jpg new file mode 100644 index 0000000000..0c10d2d544 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/mosque/Mosque-Images-2.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/mosque/Mosque-Images-3.jpg b/plugin_repository/assets/newsletter-templates/mosque/Mosque-Images-3.jpg new file mode 100644 index 0000000000..c2b11eca84 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/mosque/Mosque-Images-3.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/mosque/Mosque-Logo.png b/plugin_repository/assets/newsletter-templates/mosque/Mosque-Logo.png new file mode 100644 index 0000000000..87b4b1aebf Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/mosque/Mosque-Logo.png differ diff --git a/plugin_repository/assets/newsletter-templates/mosque/bg-2.jpg b/plugin_repository/assets/newsletter-templates/mosque/bg-2.jpg new file mode 100644 index 0000000000..c72f4ccff7 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/mosque/bg-2.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/mosque/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/mosque/thumbnail.jpg new file mode 100644 index 0000000000..f02361922a Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/mosque/thumbnail.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/motor/Car-Footer.jpg b/plugin_repository/assets/newsletter-templates/motor/Car-Footer.jpg new file mode 100644 index 0000000000..ceb48297bd Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/motor/Car-Footer.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/motor/Car-Header-2.jpg b/plugin_repository/assets/newsletter-templates/motor/Car-Header-2.jpg new file mode 100644 index 0000000000..798cbb6bb9 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/motor/Car-Header-2.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/motor/Car-Header-logo-1.png b/plugin_repository/assets/newsletter-templates/motor/Car-Header-logo-1.png new file mode 100644 index 0000000000..cd38649a61 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/motor/Car-Header-logo-1.png differ diff --git a/plugin_repository/assets/newsletter-templates/motor/Car-Wheel.jpg b/plugin_repository/assets/newsletter-templates/motor/Car-Wheel.jpg new file mode 100644 index 0000000000..596f613f23 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/motor/Car-Wheel.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/motor/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/motor/thumbnail.jpg new file mode 100644 index 0000000000..5d955bfc76 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/motor/thumbnail.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/painter/170204_sktchy_BlackChickenBrushPen2CRBR.jpg b/plugin_repository/assets/newsletter-templates/painter/170204_sktchy_BlackChickenBrushPen2CRBR.jpg new file mode 100644 index 0000000000..a2111e26d8 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/painter/170204_sktchy_BlackChickenBrushPen2CRBR.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/painter/180828-sktchy-t-c-c-hahn-expressions-cpCRAltBRCRFeat-394x252.jpg b/plugin_repository/assets/newsletter-templates/painter/180828-sktchy-t-c-c-hahn-expressions-cpCRAltBRCRFeat-394x252.jpg new file mode 100644 index 0000000000..a1abed49f2 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/painter/180828-sktchy-t-c-c-hahn-expressions-cpCRAltBRCRFeat-394x252.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/painter/180830-2018-fair-32-pigeon-fabri-300-hpCRAltBRFeat-394x252.jpg b/plugin_repository/assets/newsletter-templates/painter/180830-2018-fair-32-pigeon-fabri-300-hpCRAltBRFeat-394x252.jpg new file mode 100644 index 0000000000..f36befb7cc Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/painter/180830-2018-fair-32-pigeon-fabri-300-hpCRAltBRFeat-394x252.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/painter/181215_2-laura-anderson-dog-fab-artistico-cpCRAltBRCRBlog.jpg b/plugin_repository/assets/newsletter-templates/painter/181215_2-laura-anderson-dog-fab-artistico-cpCRAltBRCRBlog.jpg new file mode 100644 index 0000000000..9be1ced574 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/painter/181215_2-laura-anderson-dog-fab-artistico-cpCRAltBRCRBlog.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/painter/1812231-sktchy-1-jon-coxwell-fabriano-cpCRFeat-394x252.jpg b/plugin_repository/assets/newsletter-templates/painter/1812231-sktchy-1-jon-coxwell-fabriano-cpCRFeat-394x252.jpg new file mode 100644 index 0000000000..50fbdcaadc Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/painter/1812231-sktchy-1-jon-coxwell-fabriano-cpCRFeat-394x252.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/painter/186018-sktchy-2-nh-gutenCRALTBRBLOG.jpg b/plugin_repository/assets/newsletter-templates/painter/186018-sktchy-2-nh-gutenCRALTBRBLOG.jpg new file mode 100644 index 0000000000..da4d05ca31 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/painter/186018-sktchy-2-nh-gutenCRALTBRBLOG.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/painter/Painter-Header.jpg b/plugin_repository/assets/newsletter-templates/painter/Painter-Header.jpg new file mode 100644 index 0000000000..2949f7e1f7 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/painter/Painter-Header.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/painter/Painter-Logo-bg.jpg b/plugin_repository/assets/newsletter-templates/painter/Painter-Logo-bg.jpg new file mode 100644 index 0000000000..af0c98d5cf Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/painter/Painter-Logo-bg.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/painter/Painter-Logo.png b/plugin_repository/assets/newsletter-templates/painter/Painter-Logo.png new file mode 100644 index 0000000000..2542d93797 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/painter/Painter-Logo.png differ diff --git a/plugin_repository/assets/newsletter-templates/painter/Painter-SocialBack.jpg b/plugin_repository/assets/newsletter-templates/painter/Painter-SocialBack.jpg new file mode 100644 index 0000000000..47ef07e53d Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/painter/Painter-SocialBack.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/painter/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/painter/thumbnail.jpg new file mode 100644 index 0000000000..bb2ed418ed Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/painter/thumbnail.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/photography/Photography-Images-1.jpg b/plugin_repository/assets/newsletter-templates/photography/Photography-Images-1.jpg new file mode 100644 index 0000000000..d44b8ce1bb Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/photography/Photography-Images-1.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/photography/Photography-Images-2.jpg b/plugin_repository/assets/newsletter-templates/photography/Photography-Images-2.jpg new file mode 100644 index 0000000000..c962c237f3 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/photography/Photography-Images-2.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/photography/Photography-Images-3.jpg b/plugin_repository/assets/newsletter-templates/photography/Photography-Images-3.jpg new file mode 100644 index 0000000000..0979d73194 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/photography/Photography-Images-3.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/photography/Photography-Logo.png b/plugin_repository/assets/newsletter-templates/photography/Photography-Logo.png new file mode 100644 index 0000000000..e4b3df930d Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/photography/Photography-Logo.png differ diff --git a/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-1.jpg b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-1.jpg new file mode 100644 index 0000000000..a000f3095f Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-1.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-2.jpg b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-2.jpg new file mode 100644 index 0000000000..9ae90c3940 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-2.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-3.jpg b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-3.jpg new file mode 100644 index 0000000000..0f28701288 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-3.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-4.jpg b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-4.jpg new file mode 100644 index 0000000000..eac6761854 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-4.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-5.jpg b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-5.jpg new file mode 100644 index 0000000000..5d9e85e869 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-5.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-6.jpg b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-6.jpg new file mode 100644 index 0000000000..1a483357fa Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-6.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-7.jpg b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-7.jpg new file mode 100644 index 0000000000..56ae015943 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-7.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-8.jpg b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-8.jpg new file mode 100644 index 0000000000..7ce5a6f2bf Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-8.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-9.jpg b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-9.jpg new file mode 100644 index 0000000000..7348a5533c Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/photography/Photography-Squares-9.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/photography/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/photography/thumbnail.jpg new file mode 100644 index 0000000000..69a32013d8 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/photography/thumbnail.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/poet/Poet-Books-1.png b/plugin_repository/assets/newsletter-templates/poet/Poet-Books-1.png new file mode 100644 index 0000000000..3e9bbae822 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/poet/Poet-Books-1.png differ diff --git a/plugin_repository/assets/newsletter-templates/poet/Poet-Books-2.png b/plugin_repository/assets/newsletter-templates/poet/Poet-Books-2.png new file mode 100644 index 0000000000..b3b409b55d Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/poet/Poet-Books-2.png differ diff --git a/plugin_repository/assets/newsletter-templates/poet/Poet-Books-3.png b/plugin_repository/assets/newsletter-templates/poet/Poet-Books-3.png new file mode 100644 index 0000000000..3d13d5bfe5 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/poet/Poet-Books-3.png differ diff --git a/plugin_repository/assets/newsletter-templates/poet/Poet-Header.jpg b/plugin_repository/assets/newsletter-templates/poet/Poet-Header.jpg new file mode 100644 index 0000000000..68ae12dbb1 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/poet/Poet-Header.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/poet/Poet-Images-1.jpg b/plugin_repository/assets/newsletter-templates/poet/Poet-Images-1.jpg new file mode 100644 index 0000000000..71681930d2 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/poet/Poet-Images-1.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/poet/Poet-Logo.png b/plugin_repository/assets/newsletter-templates/poet/Poet-Logo.png new file mode 100644 index 0000000000..6bf2bd3f7a Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/poet/Poet-Logo.png differ diff --git a/plugin_repository/assets/newsletter-templates/poet/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/poet/thumbnail.jpg new file mode 100644 index 0000000000..fd09337c08 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/poet/thumbnail.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/rock-band/RockBand-Albums-1.jpg b/plugin_repository/assets/newsletter-templates/rock-band/RockBand-Albums-1.jpg new file mode 100644 index 0000000000..cf61ef1c3b Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/rock-band/RockBand-Albums-1.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/rock-band/RockBand-Albums-2.jpg b/plugin_repository/assets/newsletter-templates/rock-band/RockBand-Albums-2.jpg new file mode 100644 index 0000000000..911f021d6b Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/rock-band/RockBand-Albums-2.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/rock-band/RockBand-Albums-3.jpg b/plugin_repository/assets/newsletter-templates/rock-band/RockBand-Albums-3.jpg new file mode 100644 index 0000000000..de44a7f77e Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/rock-band/RockBand-Albums-3.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/rock-band/RockBand-Header-2.jpg b/plugin_repository/assets/newsletter-templates/rock-band/RockBand-Header-2.jpg new file mode 100644 index 0000000000..93615a6e97 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/rock-band/RockBand-Header-2.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/rock-band/RockBand-Tours.jpg b/plugin_repository/assets/newsletter-templates/rock-band/RockBand-Tours.jpg new file mode 100644 index 0000000000..73022761ea Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/rock-band/RockBand-Tours.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/rock-band/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/rock-band/thumbnail.jpg new file mode 100644 index 0000000000..a81176915a Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/rock-band/thumbnail.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Back-1.jpg b/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Back-1.jpg new file mode 100644 index 0000000000..d6ab6771fa Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Back-1.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Header-2.jpg b/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Header-2.jpg new file mode 100644 index 0000000000..205ff12835 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Header-2.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Images-1.jpg b/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Images-1.jpg new file mode 100644 index 0000000000..d3f0823290 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Images-1.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Images-2.jpg b/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Images-2.jpg new file mode 100644 index 0000000000..6d3959bba2 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Images-2.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Images-3.jpg b/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Images-3.jpg new file mode 100644 index 0000000000..f7d05e9cb0 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Images-3.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Logo.png b/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Logo.png new file mode 100644 index 0000000000..b10cb8cf9a Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/synagogue/Synagogue-Logo.png differ diff --git a/plugin_repository/assets/newsletter-templates/synagogue/male-18.jpg b/plugin_repository/assets/newsletter-templates/synagogue/male-18.jpg new file mode 100644 index 0000000000..4b74b7d979 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/synagogue/male-18.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/synagogue/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/synagogue/thumbnail.jpg new file mode 100644 index 0000000000..75a38f3671 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/synagogue/thumbnail.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-Header.jpg b/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-Header.jpg new file mode 100644 index 0000000000..3e15e1eda6 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-Header.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-Images-1.jpg b/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-Images-1.jpg new file mode 100644 index 0000000000..a1b9fb5437 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-Images-1.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-Images-2.jpg b/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-Images-2.jpg new file mode 100644 index 0000000000..bee255334e Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-Images-2.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-Images-3.jpg b/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-Images-3.jpg new file mode 100644 index 0000000000..8d4669814a Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-Images-3.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-PlayButton.png b/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-PlayButton.png new file mode 100644 index 0000000000..61fdd2c0dd Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-PlayButton.png differ diff --git a/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-WhoAmI.jpg b/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-WhoAmI.jpg new file mode 100644 index 0000000000..7a63288567 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-WhoAmI.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-Youtube.jpg b/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-Youtube.jpg new file mode 100644 index 0000000000..b3eee4f987 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/vlogger/Vlogger-Youtube.jpg differ diff --git a/plugin_repository/assets/newsletter-templates/vlogger/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/vlogger/thumbnail.jpg new file mode 100644 index 0000000000..a25ce9bab4 Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/vlogger/thumbnail.jpg differ