├── themes └── FoxyStripe │ ├── css │ ├── template.css │ ├── editor.css │ ├── base.css │ ├── print.css │ ├── scss │ │ ├── flexslider.scss │ │ ├── typography.scss │ │ └── form.scss │ ├── flexgallery.css │ ├── skeleton-fluid.css │ ├── flexslider.css │ ├── gallery.css │ ├── typography.css │ ├── form.css │ └── login.css │ ├── javascript │ ├── lazy_init.js │ ├── form-update.js │ ├── video.js │ ├── menu_init.min.js │ ├── gallery.js │ ├── menu_init │ │ └── menu_init.js │ ├── gallery_init.js │ ├── meanMenu │ │ ├── README.md │ │ ├── meanmenu.css │ │ ├── demo.html │ │ ├── jquery.meanmenu.2.0.min.js │ │ └── gpl.txt │ ├── jquery.tools.min.js │ ├── jquery.lazyload.min.js │ └── tracking-universal.js │ ├── templates │ ├── Includes │ │ ├── BlogSideBar.ss │ │ ├── Tags.ss │ │ ├── TagList.ss │ │ ├── RssLink.ss │ │ ├── PrintSubscribe.ss │ │ ├── HeaderConfig.ss │ │ ├── CompanyInfo.ss │ │ ├── NewsItem.ss │ │ ├── ArchiveList.ss │ │ ├── EventSideBar.ss │ │ ├── FlexSliderHome.ss │ │ ├── Pagination.ss │ │ ├── FlexSliderDetail.ss │ │ ├── BlogPagination.ss │ │ ├── FlexSlider.ss │ │ ├── SpiffView.ss │ │ ├── NewsCategories.ss │ │ ├── SideBar.ss │ │ ├── videoOverlay.ss │ │ ├── ShareThis.ss │ │ ├── BlogSummary.ss │ │ └── EventSummary.ss │ ├── Address.ss │ ├── TagCloudWidget.ss │ ├── AddressMap.ss │ ├── BreadcrumbsTemplate.ss │ ├── Layout │ │ ├── SearchPage.ss │ │ ├── TextPage.ss │ │ ├── FormPage.ss │ │ ├── BasicPage.ss │ │ ├── SiteMap.ss │ │ ├── ContactPage.ss │ │ ├── HomePage.ss │ │ ├── DynamicHomePage.ss │ │ ├── EventHolder.ss │ │ ├── Page.ss │ │ ├── BlogTree.ss │ │ ├── CartProduct.ss │ │ ├── EventPage.ss │ │ ├── LocationPage.ss │ │ ├── NewsHolder.ss │ │ ├── DetailPage.ss │ │ ├── LandingPage.ss │ │ ├── BlogHolder.ss │ │ ├── StaffPage.ss │ │ ├── SlidePage.ss │ │ ├── NewsArticle.ss │ │ ├── Page_results.ss │ │ ├── BlogEntry.ss │ │ ├── Gallery.ss │ │ ├── CartProductGroup.ss │ │ ├── YoutubeGallery.ss │ │ └── KitchenSink.ss │ ├── ArchiveWidget.ss │ ├── Security_login.ss │ └── Page.ss │ └── images │ ├── close.png │ ├── logo.jpg │ ├── Dynamic.png │ ├── favicon.ico │ ├── gallery.jpg │ ├── github.jpg │ ├── twitter.png │ ├── ShareIcons.png │ ├── calendar.jpg │ ├── facebook.png │ ├── icon-close.png │ ├── icons │ ├── rss.png │ ├── page_word.png │ ├── application.png │ ├── page_excel.png │ ├── page_white_zip.png │ └── page_white_acrobat.png │ ├── lazy │ └── grey.gif │ ├── linkedin.png │ ├── packagist.jpg │ ├── video-bg.png │ ├── DynamicLogo.png │ ├── google-plus.png │ ├── mobile-menu.png │ ├── mobile-menu-bg.png │ ├── apple-touch-icon.png │ ├── bg_direction_nav.png │ ├── slider-left-arrow.png │ ├── slider-right-arrow.png │ ├── apple-touch-icon-72x72.png │ └── apple-touch-icon-114x114.png ├── favicon.ico ├── flexslider ├── _config.php ├── .version ├── images │ └── bg_direction_nav.png ├── thirdparty │ └── flexslider │ │ ├── images │ │ └── bg_direction_nav.png │ │ ├── flexslider.css │ │ └── README.mdown ├── README.md ├── tests │ ├── FlexSliderTest.yml │ ├── FlexSliderTest.php │ └── SlideImageTest.php ├── _config │ └── config.yml ├── templates │ └── Includes │ │ └── FlexSlider.ss ├── composer.json ├── javascript │ └── flexslider_init.js ├── .travis.yml ├── code │ ├── FlexSliderExtension.php │ ├── FlexSlider.php │ └── SlideImage.php └── css │ └── flexslider2.css ├── mysite ├── .htaccess ├── code │ ├── HomePage.php │ ├── extensions │ │ └── BlogEntryDataExtension.php │ └── Page.php ├── _config.php └── _config │ └── config.yml ├── .gitignore ├── web.config ├── .editorconfig ├── composer.json ├── install-frameworkmissing.html ├── .htaccess ├── gulpfile.js └── README.md /themes/FoxyStripe/css/template.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/favicon.ico -------------------------------------------------------------------------------- /flexslider/_config.php: -------------------------------------------------------------------------------- 1 | 2 | Deny from all 3 | -------------------------------------------------------------------------------- /themes/FoxyStripe/javascript/lazy_init.js: -------------------------------------------------------------------------------- 1 | $(function(){ 2 | $('img.lazy').lazyload({threshold: 30}); 3 | }); -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/BlogSideBar.ss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /themes/FoxyStripe/images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/close.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/logo.jpg -------------------------------------------------------------------------------- /flexslider/.version: -------------------------------------------------------------------------------- 1 | https://github.com/dynamic/SilverStripe-FlexSlider.git 2 | 3 | sha: cde58f31aa6802c290307abc06b4a22d623327af 4 | -------------------------------------------------------------------------------- /themes/FoxyStripe/images/Dynamic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/Dynamic.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/favicon.ico -------------------------------------------------------------------------------- /themes/FoxyStripe/images/gallery.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/gallery.jpg -------------------------------------------------------------------------------- /themes/FoxyStripe/images/github.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/github.jpg -------------------------------------------------------------------------------- /themes/FoxyStripe/images/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/twitter.png -------------------------------------------------------------------------------- /flexslider/images/bg_direction_nav.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/flexslider/images/bg_direction_nav.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/ShareIcons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/ShareIcons.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/calendar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/calendar.jpg -------------------------------------------------------------------------------- /themes/FoxyStripe/images/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/facebook.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/icon-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/icon-close.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/icons/rss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/icons/rss.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/lazy/grey.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/lazy/grey.gif -------------------------------------------------------------------------------- /themes/FoxyStripe/images/linkedin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/linkedin.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/packagist.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/packagist.jpg -------------------------------------------------------------------------------- /themes/FoxyStripe/images/video-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/video-bg.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/DynamicLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/DynamicLogo.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/google-plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/google-plus.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/mobile-menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/mobile-menu.png -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Address.ss: -------------------------------------------------------------------------------- 1 |
2 | $Address
3 | $Suburb, $State $Postcode
4 | $CountryName

5 |
-------------------------------------------------------------------------------- /themes/FoxyStripe/images/icons/page_word.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/icons/page_word.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/mobile-menu-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/mobile-menu-bg.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/apple-touch-icon.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/bg_direction_nav.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/bg_direction_nav.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/icons/application.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/icons/application.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/icons/page_excel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/icons/page_excel.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/slider-left-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/slider-left-arrow.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/icons/page_white_zip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/icons/page_white_zip.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/slider-right-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/slider-right-arrow.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/apple-touch-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/apple-touch-icon-72x72.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/apple-touch-icon-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/apple-touch-icon-114x114.png -------------------------------------------------------------------------------- /themes/FoxyStripe/images/icons/page_white_acrobat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/themes/FoxyStripe/images/icons/page_white_acrobat.png -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/Tags.ss: -------------------------------------------------------------------------------- 1 | <% if Tags %>Tagged: <% loop Tags %> <% end_loop %><% end_if %> -------------------------------------------------------------------------------- /flexslider/thirdparty/flexslider/images/bg_direction_nav.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/foxystripe.org/master/flexslider/thirdparty/flexslider/images/bg_direction_nav.png -------------------------------------------------------------------------------- /mysite/code/HomePage.php: -------------------------------------------------------------------------------- 1 | 2 | <% loop TagsCollection %> 3 | $Tag.XML<% if Last %><% else %>
<% end_if %> 4 | <% end_loop %> 5 |

-------------------------------------------------------------------------------- /themes/FoxyStripe/javascript/form-update.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | $('input, textarea').each(function(){ 3 | if($(this).hasClass('fullfield')){ 4 | $(this).parent().parent().addClass('fullfield'); 5 | } 6 | }); 7 | }); -------------------------------------------------------------------------------- /mysite/_config.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | $FullAddress.ATT 4 | 5 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/TagList.ss: -------------------------------------------------------------------------------- 1 | <% if getTags %> 2 |

Tags

3 | 10 | <% end_if %> -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/BreadcrumbsTemplate.ss: -------------------------------------------------------------------------------- 1 | <% if Pages %> 2 | Home   /   3 | <% loop Pages %> 4 | <% if Last %>$Title<% else %>$MenuTitle   /   <% end_if %> 5 | <% end_loop %> 6 | <% end_if %> -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/RssLink.ss: -------------------------------------------------------------------------------- 1 | <% if $RSSLink %> 2 |

Subscribe

3 |

RSS Feed

4 | <% else_if $DefaultRSSLink %> 5 |

Subscribe

6 |

RSS Feed RSS Feed

7 | <% end_if %> -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/SearchPage.ss: -------------------------------------------------------------------------------- 1 |
2 | $Breadcrumbs 3 |
4 |
5 |
6 |

$Title

7 | <% if $SubTitle %>

$SubTitle

<% end_if %> 8 |
$Content
9 |
10 | 11 | $SearchForm 12 |
-------------------------------------------------------------------------------- /themes/FoxyStripe/templates/ArchiveWidget.ss: -------------------------------------------------------------------------------- 1 | <% if DisplayMode == month %> 2 | <% loop Dates %> 3 | 4 | $Date.Format(F) $Date.Year 5 | <% if Last %><% else %>
<% end_if %> 6 | <% end_loop %> 7 | <% else %> 8 | <% loop Dates %> 9 | 10 | $Date.Year 11 | <% if Last %><% else %>
<% end_if %> 12 | <% end_loop %> 13 | <% end_if %> -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/TextPage.ss: -------------------------------------------------------------------------------- 1 |
2 | $Breadcrumbs 3 |
4 |
5 |
6 |

$Title

7 | <% if $SubTitle %>

$SubTitle

<% end_if %> 8 |
$Content
9 |
10 | 11 | $Form 12 | $PageComments 13 |
14 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/PrintSubscribe.ss: -------------------------------------------------------------------------------- 1 |
2 | Print 3 | 4 | <% with parent %> 5 | <% if $RSSLink %> 6 | | Subscribe 7 | <% else_if $DefaultRSSLink %> 8 | | Subscribe 9 | <% end_if %> 10 | <% end_with %> 11 |
12 | -------------------------------------------------------------------------------- /flexslider/_config/config.yml: -------------------------------------------------------------------------------- 1 | --- 2 | Name: FlexSlider 3 | --- 4 | SlideImage: 5 | db: 6 | Name: Text 7 | Description: Text 8 | SortOrder: Int 9 | ShowSlide: Boolean 10 | has_one: 11 | Image: Image 12 | Page: Page 13 | PageLink: SiteTree 14 | singular_name: 15 | - Slide 16 | plural_name: 17 | - Slides 18 | default_order: 19 | - SortOrder 20 | summary_fields: 21 | Name: Caption 22 | GridThumb: Image -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/HeaderConfig.ss: -------------------------------------------------------------------------------- 1 | <% with SiteConfig %> 2 | <% if TitleLogo = Logo %> 3 | <% if Logo %> 4 |

5 | 6 | $SiteLogo 7 | 8 |

9 | <% end_if %> 10 | <% else_if TitleLogo = Title %> 11 | <% if Title %>

$Title

<% end_if %> 12 | <% if Tagline %>
$Tagline
<% end_if %> 13 | 14 | <% end_if %> 15 | <% end_with %> -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | assets/* 2 | _ss_environment.php 3 | tools/phing-metadata 4 | silverstripe-cache 5 | .buildpath 6 | .project 7 | .settings 8 | .idea 9 | .DS_Store 10 | vendor/ 11 | cms 12 | framework 13 | blog 14 | comments 15 | widgets 16 | gridfield-bulk-editing-tools 17 | themes/simple 18 | mathspamprotection 19 | silverstripe-smtp 20 | spamprotection 21 | userforms 22 | .sass-cache 23 | node_modules 24 | markdown 25 | silverstripe.log 26 | sortablegridfield 27 | betterbuttons 28 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/CompanyInfo.ss: -------------------------------------------------------------------------------- 1 | <% with SiteConfig %> 2 | $FullAddressHTML 3 | 4 | $AddressMap(420,233) 5 | 6 | <% if PhoneNumber %> 7 |

8 | Phone:
9 | $PhoneNumber 10 |

11 | <% end_if %> 12 | 13 | <% if Hours %> 14 |

15 | HOURS:
16 | $Hours 17 |

18 | <% end_if %> 19 | <% end_with %> -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/FormPage.ss: -------------------------------------------------------------------------------- 1 |
2 | $Breadcrumbs 3 |
4 |
5 |
6 |

$Title

7 | <% if $SubTitle %>

$SubTitle

<% end_if %> 8 |
$Content
9 |
10 | $Form 11 | $PageComments 12 |
13 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/BasicPage.ss: -------------------------------------------------------------------------------- 1 |
2 | $Breadcrumbs 3 |
4 |
5 |
6 |

$Title

7 | <% if $SubTitle %>

$SubTitle

<% end_if %> 8 |
$Content
9 |
10 | 11 | $Form 12 | $PageComments 13 |
14 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/SiteMap.ss: -------------------------------------------------------------------------------- 1 |
2 |
3 |

$Title

4 |
$Content
5 | 6 | <% cached 'sitemap_page', ID, List(Page).Max(LastEdited) %> 7 | <% if Sitemap %> 8 |
$Sitemap
9 | <% end_if %> 10 | <% end_cached %> 11 | 12 |
13 | $Form 14 | $PageComments 15 |
16 |
17 | 20 |
-------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/NewsItem.ss: -------------------------------------------------------------------------------- 1 | <% if Thumbnail %> 2 |
$Thumbnail.CroppedImage(100,100)
3 | <% end_if %> 4 |
5 |

$Title

6 |
7 | <% if Abstract %> 8 |

$Abstract

9 | <% else %> 10 |

$Content.LimitWordCount

11 | <% end_if %> 12 |

13 | <% if Category %> 14 | $Category.Title 15 | <% end_if %> 16 | 17 |

-------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/ArchiveList.ss: -------------------------------------------------------------------------------- 1 | <% if NewsArchive %> 2 |

Archives

3 | 17 | <% end_if %> -------------------------------------------------------------------------------- /mysite/_config/config.yml: -------------------------------------------------------------------------------- 1 | --- 2 | Name: mysite 3 | After: 4 | - 'framework/*' 5 | - 'cms/*' 6 | --- 7 | # YAML configuration for SilverStripe 8 | # See http://doc.silverstripe.org/framework/en/topics/configuration 9 | # Caution: Indentation through two spaces, not tabs 10 | SSViewer: 11 | theme: 'FoxyStripe' 12 | Page: 13 | extensions: 14 | - WidgetPageExtension 15 | - FlexSlider 16 | FormSpamProtectionExtension: 17 | default_spam_protector: MathSpamProtector 18 | BlogEntry: 19 | extensions: 20 | - BlogEntryDataExtension 21 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/EventSideBar.ss: -------------------------------------------------------------------------------- 1 | <% if Tags %> 2 |

Tags

3 | 10 | <% end_if %> 11 | 12 | <% if Address %> 13 | <% if $LocationTitle %>
Location:
$LocationTitle
<% end_if %>
14 | $FullAddressHTML 15 |
16 | $AddressMap(420,233) 17 | 18 | <% end_if %> 19 | 20 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/ContactPage.ss: -------------------------------------------------------------------------------- 1 |
2 | $Breadcrumbs 3 |
4 |
5 |
6 |

$Title

7 | <% if $SubTitle %>

$SubTitle

<% end_if %> 8 |
$Content
9 |
10 | $Form 11 | $PageComments 12 |
13 | 21 | 22 | -------------------------------------------------------------------------------- /themes/FoxyStripe/javascript/video.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | var video = $('#video-object')[0]; 3 | $("#video-overlay").hide(); 4 | $(".VideoClick").on('click', function(e){ 5 | e.preventDefault(); 6 | $('#VideoClicker').css({'display':'block'}); 7 | $("#video-overlay").fadeIn(300); 8 | }); 9 | $(".VideoClose").on('click', function(e){ 10 | e.preventDefault(); 11 | video.pauseVideo(); 12 | $("#video-overlay").fadeOut(300); 13 | }); 14 | 15 | $(".overlay-container a[rel]").overlay(); 16 | 17 | 18 | }); 19 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/FlexSliderHome.ss: -------------------------------------------------------------------------------- 1 | <% if SlideShow %> 2 |
3 | 14 |
15 | <% end_if %> 16 | -------------------------------------------------------------------------------- /web.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/HomePage.ss: -------------------------------------------------------------------------------- 1 |
2 | <% if Slides %> 3 |
4 |
5 | <% include FlexSliderHome %> 6 |
7 |
8 | <% end_if %> 9 | 10 |
11 |
$Content
12 | 13 | <% if MarkdownContent %> 14 |
$MarkdownContent
15 | <% end_if %> 16 |
17 | 18 |
19 | -------------------------------------------------------------------------------- /flexslider/templates/Includes/FlexSlider.ss: -------------------------------------------------------------------------------- 1 | <% if SlideShow %> 2 |
3 | 15 |
16 | <% end_if %> 17 | -------------------------------------------------------------------------------- /flexslider/tests/FlexSliderTest.php: -------------------------------------------------------------------------------- 1 | session()->clear('loggedInAs'); 19 | $this->session()->clear('logInWithPermission'); 20 | } 21 | 22 | public function testFlexSlider(){} 23 | 24 | } 25 | -------------------------------------------------------------------------------- /flexslider/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dynamic/flexslider", 3 | "description": "The Dynamic FlexSlider Module", 4 | "keywords": ["silverstripe", "flexslider", "module", "extension"], 5 | "license": "BSD-3-Clause", 6 | "type": "silverstripe-module", 7 | "require": { 8 | "silverstripe/framework": ">=3.0", 9 | "colymba/gridfield-bulk-editing-tools": "2.1.1", 10 | "undefinedoffset/sortablegridfield": "0.4.1" 11 | }, 12 | "authors": [ 13 | { 14 | "name": "Dynamic Inc", 15 | "homepage": "http://dynamicdoes.com" 16 | } 17 | ], 18 | "extra": { 19 | "installer-name": "flexslider" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # For more information about the properties used in 2 | # this file, please see the EditorConfig documentation: 3 | # http://editorconfig.org/ 4 | 5 | root = true 6 | 7 | [*] 8 | charset = utf-8 9 | end_of_line = lf 10 | indent_size = 4 11 | indent_style = tab 12 | insert_final_newline = true 13 | trim_trailing_whitespace = true 14 | 15 | [*.md] 16 | trim_trailing_whitespace = false 17 | 18 | [*.yml] 19 | indent_size = 2 20 | indent_style = space 21 | 22 | [{.travis.yml,package.json}] 23 | # The indent size used in the `package.json` file cannot be changed 24 | # https://github.com/npm/npm/pull/3180#issuecomment-16336516 25 | indent_size = 2 26 | indent_style = space 27 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/DynamicHomePage.ss: -------------------------------------------------------------------------------- 1 |
2 | <% if SlideShow %> 3 |
4 | <% include FlexSlider %> 5 |
6 | <% end_if %> 7 | 8 |
9 |
10 |

$Title

11 | <% if SubTitle %>

$SubTitle

<% end_if %> 12 | <% if Content %>$Content<% end_if %> 13 |
14 |
15 |
16 | 17 | <% if SpiffList %> 18 |
19 | <% loop SpiffList.Limit(4) %> 20 |
21 | $Me 22 |
23 | <% end_loop %> 24 |
25 | <% end_if %> 26 |
-------------------------------------------------------------------------------- /mysite/code/extensions/BlogEntryDataExtension.php: -------------------------------------------------------------------------------- 1 | 'HTMLText' 7 | ); 8 | private static $has_one = array(); 9 | private static $has_many = array(); 10 | private static $many_many = array(); 11 | private static $many_many_extraFields = array(); 12 | private static $belongs_many_many = array(); 13 | 14 | public function updateCMSFields(FieldList $fields){ 15 | 16 | $fields->addFieldToTab( 17 | 'Root.DevContent', 18 | TextareaField::create('DevContent') 19 | ->setTitle('Dev Content (allows for embeds/js)') 20 | ); 21 | 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/EventHolder.ss: -------------------------------------------------------------------------------- 1 |
2 | $Breadcrumbs 3 |
4 |
5 |
6 |

$Title

7 | $Content 8 | 9 |

$DateHeader

10 | <% if $UpcomingEvents %> 11 | <% loop $UpcomingEvents %> 12 |
13 | <% include EventSummary %> 14 |
15 | <% end_loop %> 16 | 17 | <% with $UpcomingEvents %> 18 | <% include Pagination %> 19 | <% end_with %> 20 | <% else %> 21 |

No entries

22 | <% end_if %> 23 |
24 |
25 | 26 | 31 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/Page.ss: -------------------------------------------------------------------------------- 1 |
2 | $Breadcrumbs 3 |
4 |
5 |
6 |

$Title

7 | <% if $SubTitle %>

$SubTitle

<% end_if %> 8 |
$Content
9 | <% if Slides %> 10 |
11 |
12 | <% include FlexSliderDetail %> 13 |
14 |
15 | <% end_if %> 16 | <% if MarkdownContent %> 17 |
$MarkdownContent
18 | <% end_if %> 19 |
20 | 21 | $Form 22 | $PageComments 23 |
24 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/BlogTree.ss: -------------------------------------------------------------------------------- 1 |
2 |
3 | $Breadcrumbs 4 |

$Title

5 | 6 | <% if SelectedTag %> 7 |

<% _t('VIEWINGTAGGED', 'Viewing entries tagged with') %> '$SelectedTag'

8 | <% else_if SelectedDate %> 9 |

<% _t('VIEWINGPOSTEDIN', 'Viewing entries posted in') %> $SelectedNiceDate

10 | <% end_if %> 11 | 12 | <% if BlogEntries %> 13 | <% control BlogEntries %> 14 | <% include BlogSummary %> 15 | <% end_control %> 16 | <% else %> 17 |

<% _t('NOENTRIES', 'There are no blog entries') %>

18 | <% end_if %> 19 | 20 | <% include BlogPagination %> 21 | 22 |
23 | 24 |
25 |
26 | 29 |
-------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/CartProduct.ss: -------------------------------------------------------------------------------- 1 |
2 |
3 | $Breadcrumbs 4 | 5 |

$Parent.Title

6 | 7 |
8 |
$Image.SetWidth(220)
9 | 10 |
11 |

$Title

12 |

13 | <% if Price %>Price: $Price.Nice
<% end_if %> 14 | <% if ProductCode %>Item#: $ProductCode<% end_if %> 15 |

16 |

17 | [mini_cart_item name="$Title.XML" price="$Price.XML"]Add To Cart[/mini_cart_item] 18 |

19 | $ShareIcons 20 |
$Content
21 | 22 |
23 |
24 |
25 |
26 |
27 | 30 |
-------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/EventPage.ss: -------------------------------------------------------------------------------- 1 |
2 | $Breadcrumbs 3 |
4 |
5 |
6 |

$Parent.Title

7 |

« Back to $Parent.Title

8 |
9 |

$Title

10 | 11 |

12 | When: $Date.Format(F j Y)<% if $EndDate %> - $EndDate.Format(F j Y)<% end_if %>
13 | Time: $Time.Format(g:i a)<% if $EndTime %> - $EndTime.Format(g:i a)<% end_if %>
14 |

15 | 16 | $Content 17 | 18 |
19 | $Form 20 | $PageComments 21 |
22 |
23 | 24 | 29 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/Pagination.ss: -------------------------------------------------------------------------------- 1 | <% if MoreThanOnePage %> 2 |
3 | <% if NotFirstPage %> 4 | < Previous 5 | <% else %> 6 | < Previous 7 | <% end_if %> 8 | 9 | <% loop PaginationSummary(4) %> 10 | <% if CurrentBool %> 11 | $PageNum 12 | <% else %> 13 | <% if Link %> 14 | $PageNum 15 | <% else %> 16 | ... 17 | <% end_if %> 18 | <% end_if %> 19 | <% end_loop %> 20 | <% if NotLastPage %> 21 | 22 | <% else %> 23 | Next > 24 | <% end_if %> 25 |
26 | <% end_if %> -------------------------------------------------------------------------------- /themes/FoxyStripe/javascript/menu_init.min.js: -------------------------------------------------------------------------------- 1 | eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('$(t).n(d(){4 r=\'#8-3-b,#8-3-h\';4 2=\'#8-3-b\';4 7=\'#8-3-h\';4 5=\'.m\';4 0=1+g.o(g.u()*6);0=\'3-s-p-\'+0;$(2).l(\'b\',d(e){k($(2).a(0)&&$(7).a(0)){$(5).j();$(2).c(0);$(7).c(0)}f{$(5).i();$(2).9(0);$(7).9(0)}});$(7).l(\'b\',d(e){e.q();k($(2).a(0)&&$(e).a(0)){$(5).j();$(2).c(0);$(e).c(0)}f{$(5).i();$(2).9(0);$(e).9(0)}})});',31,31,'trackingClass||clicker1|nav|var|subNav||clicker2|mobile|addClass|hasClass|click|removeClass|function||else|Math|anchor|show|hide|if|on|mobilemenulist|ready|floor|class|preventDefault|clickers|tracking|document|random'.split('|'),0,{})) 2 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/LocationPage.ss: -------------------------------------------------------------------------------- 1 |

$Title

2 | <% if Content %>
$Content
<% end_if %> 3 | 4 |
5 |
6 |
7 | 8 | 9 |
10 | 11 |
12 | 13 |
14 |
15 | 16 |
17 |
18 |
19 |
    20 |
    21 |
    22 |
    23 |
    24 |
    25 |
    -------------------------------------------------------------------------------- /flexslider/javascript/flexslider_init.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | 3 | $('.flexslider').flexslider({ 4 | animation: "slide", 5 | animationLoop: true, 6 | //itemWidth: 600, 7 | //video: true, 8 | controlNav: true, 9 | directionNav: true, 10 | pauseOnAction: true, 11 | pauseOnHover: true, 12 | start: function(slider){ 13 | $('body').removeClass('loading'); 14 | } 15 | }); 16 | 17 | /* 18 | // touch device click actions 19 | 20 | $(".touch .section-grid li a").each(function(){ 21 | var t = $(this); 22 | t.data("tapped","false"); 23 | t.on("click", function(event){ 24 | $(".section-grid li a").not(this).data("tapped","false"); 25 | if(t.data("tapped")== "true") 26 | { 27 | //Second click: use HREF 28 | } else { 29 | //First click: set flag, show overlay 30 | t.data("tapped","true"); 31 | return false; 32 | } 33 | }) 34 | }); 35 | */ 36 | 37 | }); -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/NewsHolder.ss: -------------------------------------------------------------------------------- 1 |
    2 | $Breadcrumbs 3 |
    4 |
    5 |
    6 |

    $Title

    7 | <% if $SubTitle %>

    $SubTitle

    <% end_if %> 8 |
    $Content
    9 |
    10 | 11 | <% if $Message %>

    $Message

    <% end_if %> 12 | 13 | <% if Items %> 14 | <% loop Items %> 15 |
    16 | <%--$Summary--%> 17 | <% include BlogSummary %> 18 |
    19 | <% end_loop %> 20 | 21 | <% with Items %> 22 | <% include Pagination %> 23 | <% end_with %> 24 | <% else %> 25 |

    No entries

    26 | <% end_if %> 27 |
    28 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/FlexSliderDetail.ss: -------------------------------------------------------------------------------- 1 | <% if SlideShow %> 2 |
    3 | 21 |
    22 | <% end_if %> 23 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/BlogPagination.ss: -------------------------------------------------------------------------------- 1 | <% if BlogEntries.MoreThanOnePage %> 2 |
    3 | <% if BlogEntries.NotFirstPage %> 4 | < Previous 5 | <% else %> 6 | < Previous 7 | <% end_if %> 8 | 9 | <% loop BlogEntries.PaginationSummary(4) %> 10 | <% if CurrentBool %> 11 | $PageNum 12 | <% else %> 13 | <% if Link %> 14 | $PageNum 15 | <% else %> 16 | ... 17 | <% end_if %> 18 | <% end_if %> 19 | <% end_loop %> 20 | 21 | <% if BlogEntries.NotLastPage %> 22 | Next > 23 | <% else %> 24 | Next > 25 | <% end_if %> 26 |
    27 | <% end_if %> -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/DetailPage.ss: -------------------------------------------------------------------------------- 1 |
    2 | $Breadcrumbs 3 |
    4 |
    5 | 6 |
    7 | <% if Image %>

    $Title Header Image

    <% end_if %> 8 |

    $Title

    9 | <% if SubTitle %>

    $SubTitle

    <% end_if %> 10 | 11 |
    12 | <% include ShareThis %> 13 |
    14 | 15 |
    $Content
    16 | 17 | <% if SlideShow %> 18 |
    19 | <% include FlexSliderDetail %> 20 |
    21 | <% end_if %> 22 | 23 | <% if Tags %>

    <% include Tags %>

    <% end_if %> 24 | 25 |
    26 | 27 | $Form 28 | $PageComments 29 | 30 |
    31 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/FlexSlider.ss: -------------------------------------------------------------------------------- 1 | <% if SlideShow %> 2 |
    3 | 21 |
    22 | <% end_if %> 23 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/LandingPage.ss: -------------------------------------------------------------------------------- 1 |
    2 | $Breadcrumbs 3 |
    4 |
    5 | <% if Slides %> 6 |
    7 |
    8 | <% include FlexSlider %> 9 |
    10 |
    11 | <% end_if %> 12 | 13 |
    14 |

    $Title

    15 | <% if SubTitle %>

    $SubTitle

    <% end_if %> 16 |
    $Content
    17 |
    18 |
    19 | <% if SpiffList %> 20 |
    21 | <% loop SpiffList.Limit(3) %> 22 |
    23 | $Me 24 |
    25 | <% end_loop %> 26 |
    27 | <% end_if %> 28 |
    29 | 30 | $Form 31 | $PageComments 32 |
    33 | 34 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/SpiffView.ss: -------------------------------------------------------------------------------- 1 |

    2 | <% if PageLinkID %><% end_if %> 3 | <% if Headline %> 4 | $Headline 5 | <% else_if Name %> 6 | $Name 7 | <% end_if %> 8 | <% if PageLinkID %><% end_if %> 9 |

    10 | <% if Image %> 11 | <% if PageLinkID %><% end_if %> 12 | <% with Image %> 13 | <% if Headline %>$Headline<% else %>$Name<% end_if %> Thumbnail 14 | <% end_with %> 15 | <% if PageLinkID %><% end_if %> 16 | <% end_if %> 17 | <% if Description %>$Description<% end_if %> 18 | <% if $PageLink %>

    Learn more.

    <% end_if %> 19 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/BlogHolder.ss: -------------------------------------------------------------------------------- 1 |
    2 | $Breadcrumbs 3 |
    4 |
    5 | <% if SelectedTag %> 6 |

    <% _t('BlogHolder_ss.VIEWINGTAGGED', 'Viewing entries tagged with') %> '$SelectedTag'

    7 | <% else_if SelectedDate %> 8 |

    <% _t('BlogHolder_ss.VIEWINGPOSTEDIN', 'Viewing entries posted in') %> $SelectedNiceDate

    9 | <% else_if SelectedAuthor %> 10 |

    <% _t('BlogHolder_ss.VIEWINGPOSTEDBY', 'Viewing entries posted by') %> $SelectedAuthor

    11 | <% end_if %> 12 | 13 | <% if BlogEntries %> 14 | <% loop BlogEntries %> 15 | <% include BlogSummary %> 16 | <% end_loop %> 17 | <% else %> 18 |

    <% _t('BlogHolder_ss.NOENTRIES', 'There are no blog entries') %>

    19 | <% end_if %> 20 | 21 | <% include BlogPagination %> 22 | 23 |
    24 | -------------------------------------------------------------------------------- /flexslider/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | php: 3 | - 5.4 4 | 5 | env: 6 | matrix: 7 | #- DB=MYSQL CORE_RELEASE=3.0 8 | - DB=MYSQL CORE_RELEASE=3.1 9 | #- DB=MYSQL CORE_RELEASE=master 10 | - DB=PGSQL CORE_RELEASE=3.1 11 | - DB=SQLITE CORE_RELEASE=3.1 12 | 13 | matrix: 14 | include: 15 | - php: 5.5 16 | env: DB=MYSQL CORE_RELEASE=3.1 17 | - php: 5.6 18 | env: DB=MYSQL CORE_RELEASE=3.1 19 | #env: DB=MYSQL CORE_RELEASE=master 20 | 21 | before_script: 22 | - composer self-update 23 | - phpenv rehash 24 | - git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support 25 | - php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss 26 | - cd ~/builds/ss 27 | 28 | script: 29 | - vendor/bin/phpunit flexslider/tests/ 30 | notifications: 31 | slack: 32 | secure: EsA1gihJJ+/q7LWH+C5ipRx4Izi49e9ekGf4/0HL0bD4np/BGSRsh8/bBwOhYOLSi2RJTZzl62ALO0J2gjkwMyvrT41jmpVFYYFBEer5D3f5KEa8otq+Z0yHNxUwIMVbqg48fQU8L0TAPBUHSiABjMyTJAbEfemy7Q2oRmCtFiU= 33 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/NewsCategories.ss: -------------------------------------------------------------------------------- 1 |

    Tags

    2 | 10 | 11 | <% if getCategories %> 12 |

    Categories

    13 | 21 | <% end_if %> 22 | 23 | <%if NewsArchive %> 24 |

    Archives

    25 | 39 | <% end_if %> -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/SideBar.ss: -------------------------------------------------------------------------------- 1 | <% if Menu(2) %> 2 |

    <%if Level(2) %>$Parent.Title<% else %>$Title <% end_if %>

    3 | 21 | <% end_if %> 22 | View on GitHub 23 | View on Packagist 24 | SilverStripe Add-ons -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dynamic/foxystripe-org-installer", 3 | "description": "The FoxyStripe.org Website Installer", 4 | "repositories": [ 5 | { 6 | "type": "vcs", 7 | "url": "https://github.com/MediaDevils/silverstripe-smtp.git" 8 | } 9 | ], 10 | "require": { 11 | "php": ">=5.3.2", 12 | "silverstripe/cms": "3.1.9", 13 | "silverstripe/framework": "3.1.9", 14 | "silverstripe-themes/simple": "*", 15 | "silverstripe/blog": "0.7.0", 16 | "silverstripe/widgets": "dev-master", 17 | "silverstripe/comments": "1.2.1", 18 | "simplepie/simplepie": "dev-master", 19 | "ezyang/htmlpurifier": "dev-master", 20 | "silverstripe/widgets": "0.2.0", 21 | "MediaDevils/silverstripe-smtp": "*", 22 | "silverstripe/userforms": "2.0.6", 23 | "silverstripe/spamprotection": "dev-master", 24 | "silverstripe/mathspamprotection": "dev-master", 25 | "undefinedoffset/silverstripe-markdown": "*", 26 | "unclecheese/betterbuttons": "*", 27 | "undefinedoffset/sortablegridfield": "*" 28 | }, 29 | "config": { 30 | "process-timeout": 600 31 | }, 32 | "minimum-stability": "dev" 33 | } 34 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/videoOverlay.ss: -------------------------------------------------------------------------------- 1 | <% if $YouTubeSpiffs %> 2 | <% loop $YouTubeSpiffs.Limit(2) %> 3 |
    4 |
    5 |
    6 | 7 | <% if $Image %> 8 | $Title 9 | <% else %> 10 |
    11 | <% end_if %> 12 |
    13 |
    14 |

    $Title

    15 |
    16 | $EmbedCode 17 |
    18 |
    19 |
    20 |
    21 |
    22 | <% end_loop %> 23 | <% end_if %> 24 | 25 | <%-- video.js used for triggering overlays, jquery.tools used for overlay--%> 26 | 27 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/StaffPage.ss: -------------------------------------------------------------------------------- 1 | <% include Breadcrumbs %> 2 | 3 |
    4 |
    5 |
    6 |

    $Title

    7 |
    8 | $Content 9 | 10 |
    11 | <% if StaffMembers %> 12 | <% loop StaffMembers %> 13 |
    14 |
    $Thumbnail
    15 |

    $FirstName $LastName
    $JobTitle
    $Email

    16 |
    17 | <% end_loop %> 18 | <% end_if %> 19 |
    20 |
    21 |
    22 |
    23 | $Form 24 | $PageComments 25 |
    26 |
    27 | 28 | 43 | -------------------------------------------------------------------------------- /themes/FoxyStripe/javascript/gallery.js: -------------------------------------------------------------------------------- 1 | var globalTracker; 2 | 3 | $(document).ready(function(){ 4 | $(".toggle-modal").click(function(){ 5 | toggleModal(globalTracker); 6 | return false; 7 | }); 8 | 9 | $(".view-gallery").click(function(e){ 10 | e.preventDefault(); 11 | globalTracker = $(this).attr('href'); 12 | setupSliders(function(){ 13 | toggleModal(globalTracker); 14 | }); 15 | return false; 16 | }); 17 | }); 18 | 19 | function setupSliders(callback) 20 | { 21 | var carousel = '.carousel-'+globalTracker; 22 | var slider = '.slider-'+globalTracker; 23 | 24 | $(carousel).flexslider({ 25 | animation: "slide", 26 | controlNav: false, 27 | directionNav: true, 28 | animationLoop: true, 29 | slideshow: false, 30 | itemWidth: 92, 31 | asNavFor: slider 32 | }); 33 | 34 | $(slider).flexslider({ 35 | animation: "slide", 36 | animationSpeed: 400, 37 | controlNav: false, 38 | animationLoop: true, 39 | slideshow: false, 40 | sync: carousel, 41 | start: function(){ } 42 | }); 43 | callback(); 44 | } 45 | 46 | function toggleModal(id) 47 | { 48 | var objects = ".opaque-layer, #modal-" + id; 49 | $(objects).toggleClass("active"); 50 | } -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/SlidePage.ss: -------------------------------------------------------------------------------- 1 | <% include Breadcrumbs %> 2 | 3 |
    4 |
    5 | <% if Slides %> 6 |
    7 | <% include FlexSlider %> 8 |
    9 | <% end_if %> 10 |
    11 |

    $Title

    12 |
    13 | $Content 14 |
    15 |
    16 | $Form 17 | $PageComments 18 |
    19 |
    20 | 21 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/NewsArticle.ss: -------------------------------------------------------------------------------- 1 |
    2 | $Breadcrumbs 3 |
    4 |
    5 |
    <% if $DateAuthored %>

    $DateAuthored.Format(F j), $DateAuthored.Format(Y)<% if $Author %>
    by: $Author<% end_if %><% end_if %>

    6 | 7 |

    $Title

    8 |
    9 | <% if Image %>

    $Title Header Image

    <% end_if %> 10 | 11 | <% if SubTitle %>

    $SubTitle

    <% end_if %> 12 | 13 |
    $Content
    14 | 15 | <% if SlideShow %> 16 |
    17 | <% include FlexSlider %> 18 |
    19 | <% end_if %> 20 | 21 |
    22 | <% if Tags %>

    <% include Tags %>

    <% end_if %> 23 |
    24 | 25 | <% include ShareThis %> 26 |
    27 | 28 | $Form 29 | $PageComments 30 | 31 |
    32 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/ShareThis.ss: -------------------------------------------------------------------------------- 1 |

    2 | Share this on:   3 | 4 | 5 | 6 | 7 | 8 | 9 |

    -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/Page_results.ss: -------------------------------------------------------------------------------- 1 |
    2 | $Breadcrumbs 3 |
    4 |
    5 |
    6 |

    $Title

    7 | <% if $SubTitle %>

    $SubTitle

    <% end_if %> 8 |
    $Content
    9 |
    10 | 11 | $SearchForm 12 | 13 |

    Results for "$Query"

    14 | <% if $Results %> 15 | <% loop $Results %> 16 |
    17 |

    18 | 19 | <% if $MenuTitle %> 20 | $MenuTitle 21 | <% else %> 22 | $Title 23 | <% end_if %> 24 | 25 |

    26 |

    $Content.LimitWordCountXML

    27 |

    Read more about "{$Title}"... 30 |

    31 |
    32 | <% end_loop %> 33 | <% else %> 34 |

    Sorry, your search query did not return any results.

    35 | <% end_if %> 36 | 37 | <% with Results %> 38 | <% include Pagination %> 39 | <% end_with %> 40 | 41 |
    -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/BlogEntry.ss: -------------------------------------------------------------------------------- 1 |
    2 | $Breadcrumbs 3 |
    4 |
    5 |
    <% _t('BlogEntry_ss.POSTEDBY', 'Posted by') %> $Author.XML <% _t('BlogEntry_ss.POSTEDON', 'on') %> $Date.Long | $Comments.Count <% _t('BlogEntry_ss.COMMENTS', 'Comments') %>
    6 | 7 |

    $Title

    8 |
    9 |

    <% _t('BlogEntry_ss.POSTEDBY', 'Posted by') %> $Author.XML <% _t('BlogEntry_ss.POSTEDON', 'on') %> $Date.Long | $Comments.Count <% _t('BlogEntry_ss.COMMENTS', 'Comments') %>

    10 | <% if TagsCollection %> 11 |

    12 | <% _t('BlogEntry_ss.TAGS', 'Tags:') %> 13 | <% loop TagsCollection %> 14 | <% if not Last %>,<% end_if %> 15 | <% end_loop %> 16 |

    17 | <% end_if %> 18 | <% if $DevContent %> 19 | $DevContent 20 | <% else %> 21 | $Content 22 | <% end_if %> 23 | 24 | <% include ShareThis %> 25 |
    26 |
    27 | 28 | $Form 29 | $PageComments 30 | 31 |
    32 | 39 | -------------------------------------------------------------------------------- /themes/FoxyStripe/javascript/menu_init/menu_init.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | var clickers = '#mobile-nav-click,#mobile-nav-anchor'; 3 | var clicker1 = '#mobile-nav-click'; 4 | var clicker2 = '#mobile-nav-anchor'; 5 | var subNav = '.mobilemenulist'; 6 | 7 | var trackingClass = 1 + Math.floor(Math.random() * 6); 8 | trackingClass = 'nav-tracking-class-'+trackingClass; 9 | 10 | /*split each click to fix issue between li click and anchor click*/ 11 | $(clicker1).on('click', function(e){ 12 | if($(clicker1).hasClass(trackingClass)&&$(clicker2).hasClass(trackingClass)){ 13 | //$(subNav).slideUp(); 14 | $(subNav).hide(); 15 | $(clicker1).removeClass(trackingClass); 16 | $(clicker2).removeClass(trackingClass); 17 | }else{ 18 | //$(subNav).slideDown(); 19 | $(subNav).show(); 20 | $(clicker1).addClass(trackingClass); 21 | $(clicker2).addClass(trackingClass); 22 | } 23 | }); 24 | 25 | $(clicker2).on('click', function(e){ 26 | e.preventDefault(); 27 | if($(clicker1).hasClass(trackingClass)&&$(e).hasClass(trackingClass)){ 28 | //$(subNav).slideUp(); 29 | $(subNav).hide(); 30 | $(clicker1).removeClass(trackingClass); 31 | $(e).removeClass(trackingClass); 32 | }else{ 33 | //$(subNav).slideDown(); 34 | $(subNav).show(); 35 | $(clicker1).addClass(trackingClass); 36 | $(e).addClass(trackingClass); 37 | } 38 | }); 39 | 40 | }); -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Security_login.ss: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | <% base_tag %> 8 | $MetaTags 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | <% require themedCSS(base) %> 17 | <% require themedCSS(skeleton) %> 18 | <%--<% require css(bootstrap_forms/css/bootstrap.css) %>--%> 19 | <% require themedCSS(login) %> 20 | 21 | 22 | 23 | 24 | 27 | 28 | 29 | 30 |
    31 |
    32 | 35 | 39 |
    40 |
    41 | 42 | -------------------------------------------------------------------------------- /install-frameworkmissing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | The SilverStripe Framework is missing 4 | 5 | 6 | 7 |
    8 |
    9 | 12 | 13 | 14 |
    15 | 16 |
    17 |
    18 |

    The SilverStripe Framework is missing - To run the installer, at least the framework module is required.

    19 | 20 |

    If you downloaded a pre-packaged zip or tar.gz, something might have gone wrong with the packaging 21 | process. Please try re-downloading, or try an older version.

    22 | 23 |

    If you downloaded this from GitHub, you need to install the framework module. You can do this manually, or by running the tools/new-project script from the command line.

    24 |
    25 |
    26 |
    27 |
    28 | 29 | 33 |
    34 | 35 | 36 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/BlogSummary.ss: -------------------------------------------------------------------------------- 1 |
    2 |

    <% _t('BlogSummary_ss.POSTEDBY', 'Posted by') %> $Author.XML <% _t('BlogSummary_ss.POSTEDON', 'on') %> $Date.Long | $Comments.Count <% _t('BlogEntry_ss.COMMENTS', 'Comments') %>

    3 |
    4 |
    5 |

    $Title

    6 |
    7 | <% if PreviewThumb %> 8 |
    9 | $Title Thumbnail 10 |
    11 | <% end_if %> 12 |
    13 | <% if Abstract %> 14 |

    $Abstract.LimitWordCount

    15 | <% else %> 16 |

    $Content.FirstParagraph(text)

    17 | <% end_if %> 18 |

    Read the full post

    19 |
    20 | <% if Tags %> 21 |
    22 | 23 | <% if TagsCollection %> 24 |

    25 | <% _t('BlogEntry_ss.TAGS', 'Tags:') %> 26 | <% loop TagsCollection %> 27 | <% if not Last %>,<% end_if %> 28 | <% end_loop %> 29 |

    30 | <% end_if %> 31 |
    32 |
    33 | <% end_if %> 34 | <% if Last %><% else %>
    <% end_if %> -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | ### SILVERSTRIPE START ### 2 | 3 | # Deny access to templates (but allow from localhost) 4 | 5 | Order deny,allow 6 | Deny from all 7 | Allow from 127.0.0.1 8 | 9 | 10 | # Deny access to IIS configuration 11 | 12 | Order deny,allow 13 | Deny from all 14 | 15 | 16 | # Deny access to YAML configuration files which might include sensitive information 17 | 18 | Order allow,deny 19 | Deny from all 20 | 21 | 22 | # Route errors to static pages automatically generated by SilverStripe 23 | ErrorDocument 404 /assets/error-404.html 24 | ErrorDocument 500 /assets/error-500.html 25 | 26 | 27 | SetEnv HTTP_MOD_REWRITE On 28 | RewriteEngine On 29 | 30 | # Deny access to potentially sensitive files and folders 31 | RewriteRule ^vendor(/|$) - [F,L,NC] 32 | RewriteRule silverstripe-cache(/|$) - [F,L,NC] 33 | RewriteRule composer\.(json|lock) - [F,L,NC] 34 | 35 | # Process through SilverStripe if no file with the requested name exists. 36 | # Pass through the original path as a query parameter, and retain the existing parameters. 37 | RewriteCond %{REQUEST_URI} ^(.*)$ 38 | RewriteCond %{REQUEST_FILENAME} !-f 39 | RewriteRule .* framework/main.php?url=%1 [QSA] 40 | 41 | # If framework isn't in a subdirectory, rewrite to installer 42 | RewriteCond %{REQUEST_URI} ^(.*)/framework/main.php$ 43 | RewriteCond %{REQUEST_FILENAME} !-f 44 | RewriteRule . %1/install.php? [R,L] 45 | 46 | 47 | ### SILVERSTRIPE END ### 48 | -------------------------------------------------------------------------------- /themes/FoxyStripe/javascript/gallery_init.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | load = true; 3 | var baseSlider = '#slider-'; 4 | var baseThumbs = '#carousel-'; 5 | var start = 1; 6 | 7 | $('.slides').each(function(){ 8 | 9 | var carousel = baseThumbs+start; 10 | var slider = baseSlider+start; 11 | 12 | $(carousel).flexslider({ 13 | animation: "slide", 14 | controlNav: false, 15 | animationLoop: false, 16 | slideshow: false, 17 | itemWidth: 100, 18 | itemMargin: 5, 19 | asNavFor: slider 20 | }); 21 | 22 | $(slider).flexslider({ 23 | animation: "slide", 24 | controlNav: false, 25 | animationLoop: true, 26 | slideshow: false, 27 | sync: carousel, 28 | start: function(slider){ 29 | $('body').removeClass('loading'); 30 | }, 31 | controlsContainer: 'flex-container' 32 | }); 33 | 34 | start++; 35 | 36 | }); 37 | 38 | var globalTracker; 39 | 40 | $(".toggle-modal").click(function(){ 41 | toggleModal(globalTracker); 42 | return false; 43 | }); 44 | 45 | $(".view-gallery").click(function(e){ 46 | e.preventDefault(); 47 | $('html,body').animate({scrollTop:0},500); 48 | var url = $(this).attr('href'); 49 | globalTracker = url.substring(url.indexOf("#")+1); 50 | toggleModal(globalTracker); 51 | return false; 52 | }); 53 | 54 | 55 | }); 56 | 57 | function toggleModal(id) 58 | { 59 | var objects = ".opaque-layer, #modal-" + id; 60 | $(objects).toggleClass("active"); 61 | } -------------------------------------------------------------------------------- /flexslider/code/FlexSliderExtension.php: -------------------------------------------------------------------------------- 1 | owner->Animate) ? 'true' : 'false'; 12 | $loop = ($this->owner->Loop) ? 'true' : 'false'; 13 | $sync = ($this->owner->ThumbnailNav==true) ? "sync: '#carousel'," : ""; 14 | $before = (method_exists($this->owner->ClassName, 'flexSliderBeforeAction')) 15 | ? $this->owner->flexSliderBeforeAction() 16 | : "function(){}"; 17 | $after = (method_exists($this->owner->ClassName, 'flexSliderAfterAction')) 18 | ? $this->owner->flexSliderAfterAction() 19 | : "function(){}"; 20 | $speed = (method_exists($this->owner->ClassName, 'setFlexSliderSpeed')) 21 | ? $this->owner->setFlexSliderSpeed() 22 | : 7000; 23 | 24 | Requirements::customScript(" 25 | $(document).ready(function(){ 26 | $('.flexslider').flexslider({ 27 | slideshow: " . $animate . ", 28 | animation: '" . $this->owner->Animation . "', 29 | animationLoop: " . $loop . ", 30 | controlNav: true, 31 | directionNav: true, 32 | pauseOnAction: true, 33 | pauseOnHover: true, 34 | ".$sync." 35 | start: function(slider){ 36 | $('body').removeClass('loading'); 37 | }, 38 | before: ".$before.", 39 | after: ".$after.", 40 | slideshowSpeed: " . $speed . " 41 | }); 42 | }); 43 | "); 44 | 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /flexslider/tests/SlideImageTest.php: -------------------------------------------------------------------------------- 1 | logInWithPermission('Slide_CREATE'); 14 | $slide = $this->objFromFixture('SlideImage', 'slide1'); 15 | 16 | $this->assertTrue($slide->canCreate()); 17 | 18 | $slideID = $slide->ID; 19 | 20 | $this->assertTrue($slideID > 0); 21 | 22 | $getSlide = SlideImage::get()->byID($slideID); 23 | $this->assertTrue($getSlide->ID == $slideID); 24 | 25 | } 26 | 27 | function testSlideUpdate(){ 28 | 29 | $this->logInWithPermission('ADMIN'); 30 | $slide = $this->objFromFixture('SlideImage', 'slide1'); 31 | $slideID = $slide->ID; 32 | 33 | $this->logOut(); 34 | 35 | $this->logInWithPermission('Slide_EDIT'); 36 | 37 | $this->assertTrue($slide->canEdit()); 38 | $slide = SlideImage::get()->byID($slideID); 39 | $newTitle = "Updated Name for Slide"; 40 | $slide->Name = $newTitle; 41 | $slide->write(); 42 | 43 | $slide = SlideImage::get()->byiD($slideID); 44 | 45 | $this->assertTrue($slide->Name == $newTitle); 46 | 47 | } 48 | 49 | function testSlideImageDeletion(){ 50 | 51 | $this->logInWithPermission('Slide_DELETE'); 52 | $slide = $this->objFromFixture('SlideImage', 'slide2'); 53 | $slideID = $slide->ID; 54 | 55 | $this->assertTrue($slide->canDelete()); 56 | $slide->delete(); 57 | 58 | $slides = SlideImage::get()->column('ID'); 59 | $this->assertFalse(in_array($slideID, $slides)); 60 | 61 | } 62 | 63 | 64 | } 65 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | //FIRST INSTALL NODE.JS 2 | //INSTALL GULP 3 | // sudo npm install --global gulp 4 | // sudo npm install --save-dev gulp 5 | 6 | //INSTALL SASS PROCESSOR 7 | // sudo npm install --save-dev gulp-sass 8 | 9 | //INSTALL JSHINT FOR JAVASCRIPT VALIDATION 10 | // sudo npm install --save-dev gulp-jshint 11 | 12 | //INSTALL LiveReload plugin 13 | //***requires chrome live reload extension to be installed as well (https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei) 14 | //sudo npm install --save-dev gulp-livereload 15 | 16 | 17 | 18 | var gulp = require('gulp'); 19 | var sass = require('gulp-sass') 20 | var jshint = require('gulp-jshint'); 21 | var livereload = require('gulp-livereload') 22 | 23 | var paths = { 24 | sass: ['./themes/FoxyStripe/css/scss/*.scss'], 25 | lint: ['./themes/FoxyStripe/javascript/*.js'], 26 | }; 27 | 28 | 29 | gulp.task('sass', function () { 30 | gulp.src(paths.sass) 31 | .pipe(sass()) 32 | .pipe(gulp.dest('./themes/FoxyStripe/css')); 33 | }); 34 | 35 | gulp.task('lint', function() { 36 | return gulp.src(paths.lint) 37 | .pipe(jshint()) 38 | .pipe(jshint.reporter('default')); 39 | }); 40 | 41 | gulp.task('watch', function() { 42 | gulp.watch(paths.sass, ['sass']); 43 | gulp.watch(paths.lint, ['lint']); 44 | livereload.listen(); 45 | gulp.watch('./themes/FoxyStripe/css/*.css').on('change', livereload.changed); 46 | gulp.watch('./themes/FoxyStripe/**/*.ss').on('change', livereload.changed); 47 | gulp.watch(paths.lint).on('change', livereload.changed); 48 | }); 49 | 50 | gulp.task('default', ['watch', 'sass', 'lint']); -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Includes/EventSummary.ss: -------------------------------------------------------------------------------- 1 | <% if DateAuthored %>$DateAuthored.Format(F j), $DateAuthored.Format(Y)<% end_if %> 2 |
    3 |

    <% if PreviewTitle %>$PreviewTitle<% else %>$Title<% end_if %>

    4 |
    $SubTitle
    5 |
    6 |
    7 |
    8 | 9 | <% if PreviewThumb %> 10 | $Title Thumbnail 11 | <% else %> 12 | 13 | <% end_if %> 14 | 15 |
    16 |
    17 |

    18 | When: $Date.Format(F j Y)<% if $EndDate %> - $EndDate.Format(F j Y)<% end_if %>
    19 | Time: $Time.Format(g:i a)<% if $EndTime %> - $EndTime.Format(g:i a)<% end_if %>
    20 |

    21 | 22 | <% if Abstract %> 23 |

    $Abstract.LimitWordCount

    24 | <% else %> 25 | $Content.FirstParagraph(html) 26 | <% end_if %> 27 | 28 | <% if Tags %> 29 |
    30 | Tags:   31 | <% loop Tags %> 32 | <% if not Last %>  |  <% end_if %> 33 | <% end_loop %> 34 | 35 |
    36 | <% end_if %> 37 |

    View the event

    38 |
    39 |
    40 | 41 | 42 |
    43 | -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/Gallery.ss: -------------------------------------------------------------------------------- 1 |
    2 | $Breadcrumbs 3 |
    4 |
    5 | 6 |
    7 |

    $Title

    8 |
    $Content
    9 |
    10 | 11 | 12 | <% if PhotoAlbums %> 13 | <% loop PhotoAlbums %> 14 | 20 | <% end_loop %> 21 |
    22 | 23 |
    24 | <% loop PhotoAlbums %> 25 | 49 | <% end_loop %> 50 | 51 | 52 | <% end_if %> 53 | 54 | 55 | 56 | <% if Slides %> 57 |
    58 |
    59 | <% include FlexSlider %> 60 |
    61 |
    62 | <% end_if %> 63 | $Form 64 | $PageComments 65 |
    66 | -------------------------------------------------------------------------------- /themes/FoxyStripe/css/base.css: -------------------------------------------------------------------------------- 1 | /* #Reset & Basics (Inspired by E. Meyers) 2 | ================================================== */ 3 | html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { 4 | margin: 0; 5 | padding: 0; 6 | border: 0; 7 | font-size: 100%; 8 | font: inherit; 9 | vertical-align: baseline; } 10 | article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 11 | display: block; } 12 | body { 13 | line-height: 1; } 14 | ol, ul { 15 | list-style: none; } 16 | blockquote, q { 17 | quotes: none; } 18 | blockquote:before, blockquote:after, 19 | q:before, q:after { 20 | content: ''; 21 | content: none; } 22 | table { 23 | border-collapse: collapse; 24 | border-spacing: 0; } 25 | 26 | 27 | /* #Images 28 | ================================================== */ 29 | 30 | img.scale-with-grid, .scale-with-grid { max-width: 100%; height: auto; } 31 | 32 | 33 | /* #Misc 34 | ================================================== */ 35 | .remove-bottom { margin-bottom: 0 !important; } 36 | .remove-top { margin-top: 0 !important; } 37 | .half-bottom { margin-bottom: 10px !important; } 38 | .half-top { margin-top: 10px !important; } 39 | .add-bottom { margin-bottom: 20px !important; } 40 | .add-top { margin-top: 20px !important; } 41 | .double-top { margin-top: 40px !important; } 42 | .double-bottom { margin-bottom: 40px !important; } 43 | .float-right {float: right !important;} 44 | .float-left {float: left !important;} 45 | 46 | 47 | #SilverStripeNavigatorMessage { padding: 0px !important; right: 0 !important; top: 0 !important; font-size: 8px !important; } 48 | 49 | 50 | -------------------------------------------------------------------------------- /themes/FoxyStripe/css/print.css: -------------------------------------------------------------------------------- 1 | @media print { 2 | .header .navigation, .footer, .side, .flexslider, 3 | .feed, #comments-holder, .breadcrumbs, .shareicons, 4 | hr, input { 5 | display: none !important; 6 | } 7 | 8 | .content, .container, .header, .typography, .column, .columns { 9 | border-width: 0px; 10 | color: #000; 11 | float: none; 12 | padding: 0px !important; 13 | width: 100% !important; 14 | font-family: "nimbus-sans", Arial, Helvetica, sans-serif; 15 | } 16 | 17 | .column.alpha, .column.omega, 18 | .columns.alpha, .columns.omega { 19 | padding: 0 !important; 20 | margin: 0 !important; 21 | } 22 | 23 | img { 24 | max-width: 100% !important; 25 | } 26 | 27 | p, h2, h3 { 28 | orphans: 3; 29 | widows: 3; 30 | } /* http://davidwalsh.name/html5-boilerplate */ 31 | 32 | #content .section-grid-3 li { 33 | margin-left: 10px; 34 | margin-right: 10px; 35 | } 36 | 37 | .content p, .typography ul, .content .article h2.whitepaper, 38 | h1, h2, h3, h4, h5, h6 { 39 | color: #000000 !important; 40 | } 41 | 42 | .content a { 43 | text-decoration: underline; 44 | border-bottom-width: 0px; 45 | } 46 | 47 | .content a:link:after, .dynamic a:link:after { 48 | content: " (" attr(href) ") "; 49 | font-size: 75% !important; 50 | font-weight: 100 !important; 51 | } 52 | 53 | .typography a[href$=".pdf"], .typography a[href$=".PDF"], .typography a.pdf { 54 | padding: 0 !important; 55 | background: none !important; 56 | } 57 | 58 | p { 59 | margin: 10px 0px !important; 60 | font-size: 10pt !important; 61 | line-height: 12pt !important; 62 | padding-left: 3px !important; 63 | padding-right: 3px !important; 64 | } 65 | 66 | h1 { 67 | font-size: 30px !important; 68 | line-height: 33px !important; 69 | } 70 | 71 | h2 { 72 | font-size: 23px !important; 73 | line-height: 25px !important; 74 | } 75 | 76 | h3 { 77 | font-size: 18px !important; 78 | line-height: 22px !important; 79 | margin-bottom: 4px !important; 80 | } 81 | 82 | /* hide sharing buttons on print */ 83 | .sharethis { display: none; } 84 | } -------------------------------------------------------------------------------- /themes/FoxyStripe/templates/Layout/CartProductGroup.ss: -------------------------------------------------------------------------------- 1 |
    2 |
    3 | $Breadcrumbs 4 | 5 |

    $Title

    6 |
    $Content
    7 | 8 | <% if Products %> 9 |

    $Products.FirstItem - $Products.LastItem of $Products.getTotalItems products

    10 | 27 | 28 | <% if Products.MoreThanOnePage %> 29 | 50 | <% end_if %> 51 | 52 | <% end_if %> 53 |
    54 |
    55 |
    56 | 77 |
    -------------------------------------------------------------------------------- /flexslider/code/FlexSlider.php: -------------------------------------------------------------------------------- 1 | "Enum('slide, fade', 'slide')", 7 | 'Loop' => 'Boolean', 8 | 'Animate' => 'Boolean', 9 | 'ThumbnailNav' => 'Boolean' 10 | ); 11 | 12 | static $has_many = array( 13 | 'Slides' => 'SlideImage' 14 | ); 15 | 16 | static $defaults = array( 17 | 'Loop' => '1', 18 | 'Animate' => '1' 19 | ); 20 | 21 | public function populateDefaults() { 22 | parent::populateDefaults(); 23 | 24 | $this->owner->SliderWidth = 640; 25 | $this->owner->SliderHeight = 400; 26 | $this->Loop = 1; 27 | $this->Animate = 1; 28 | } 29 | 30 | public function updateCMSFields(FieldList $fields) { 31 | 32 | // Slides 33 | $gridFieldConfig = GridFieldConfig::create()->addComponents( 34 | new GridFieldToolbarHeader(), 35 | new GridFieldAddNewButton('toolbar-header-right'), 36 | new GridFieldSortableHeader(), 37 | new GridFieldDataColumns(), 38 | new GridFieldPaginator(20), 39 | new GridFieldEditButton(), 40 | new GridFieldDeleteAction(), 41 | new GridFieldDetailForm() 42 | ); 43 | if (class_exists('GridFieldBulkEditingTools')) { 44 | $gridFieldConfig->addComponent(new GridFieldBulkEditingTools()); 45 | $gridFieldConfig->addComponent(new GridFieldBulkImageUpload('ImageID', array('Name'))); 46 | } 47 | if (class_exists('GridFieldSortableRows')) $gridFieldConfig->addComponent(new GridFieldSortableRows("SortOrder")); 48 | 49 | $SlidesField = GridField::create("Slides", "Slides", $this->owner->Slides()->sort('SortOrder'), $gridFieldConfig); 50 | 51 | // add FlexSlider, width and height 52 | $fields->addFieldsToTab("Root.Slides", array( 53 | $SlidesField, 54 | HeaderField::create('Config', 'Configuration', 3), 55 | CheckboxField::create('Animate', 'Animate automatically'), 56 | DropdownField::create('Animation', 'Animation option', $this->owner->dbObject('Animation')->enumValues()), 57 | CheckboxField::create('Loop', 'Loop the carousel'), 58 | CheckboxField::create('ThumbnailNav')->setTitle('Thumbnail Navigation') 59 | )); 60 | 61 | } 62 | 63 | function contentcontrollerInit($controller) { 64 | //Requirements::javascript('framework/thirdparty/jquery/jquery.min.js'); 65 | 66 | } 67 | 68 | public function SlideShow() { 69 | 70 | $slides = $this->owner->Slides()->filter(array('ShowSlide'=>1))->sort('SortOrder'); 71 | 72 | return $slides; 73 | //return $slides->renderWith('FlexSlider'); 74 | } 75 | 76 | } 77 | -------------------------------------------------------------------------------- /themes/FoxyStripe/javascript/meanMenu/README.md: -------------------------------------------------------------------------------- 1 | meanMenu v2.0 2 | =========== 3 | 4 | A menu system for responsive designs, media query independent. 5 | 6 | And yes, it works with jQuery 2.0 - obviously IE 7 & 8 will not work. 7 | 8 | Live Demo: 9 | http://www.meanthemes.com/demo/meanmenu/demo.html 10 | 11 | **Now with expanding/contracting sub navigation :)** 12 | 13 | Just include the jQuery library (http://jquery.com) 14 | 15 | Then this file (jquery.meanmenu.js) 16 | 17 | in your HTML e.g. 18 | 19 | 20 | 21 | 22 | Then add the CSS for this after all of your other CSS in the <head> section. 23 | 24 | 25 | 26 | Then in your usual document.ready, this is working under the assumption your navigation is in