SlideShow
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 29 Aug 2014 19:04:36 +0000 (15:04 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 29 Aug 2014 19:04:36 +0000 (15:04 -0400)
setup for 1000 x 450

Toolkit/Page.php
Toolkit/RotatingImages/config.ini
Toolkit/RotatingImages/templates/rotatingImages.html
templates/template.html

index 3bdd095..7ebcd84 100755 (executable)
@@ -146,8 +146,9 @@ class Toolkit_Page
         // Resources needed for every page.
         $GLOBALS['styleSheets'] = array();
         // Resources needed for every page.
-        $GLOBALS['topScripts'][] = JQUERY_CDN_JS;
-//        $GLOBALS['topScripts'][] = JQUERY_CDN_MIGRATE_JS;
+        $GLOBALS['topScripts'][]    = JQUERY_CDN_JS;
+        $GLOBALS['bottomScripts'][] = JQUERY_UI_CDN_JS;
+        $GLOBALS['styleSheets'][]   = JQUERY_UI_CDN_CSS;
     }
 
     private function _video()
@@ -484,7 +485,7 @@ class Toolkit_Page
             && VIDEOS
             && $this->_catid == HOME_ID
         ) {
-            $this->_video();
+//            $this->_video();
         }
 
         // check if define for GLM_SEARCH is set
@@ -557,7 +558,7 @@ class Toolkit_Page
             && !isset($_GET['query'])
             && in_array($page['id'], array(HOME_ID))
         ) {
-            $this->_getFeaturedVideo();
+//            $this->_getFeaturedVideo();
         }
 
     }
index 6eb99bc..1e7d7aa 100644 (file)
@@ -3,8 +3,8 @@
 applicationName = "Homepage Slideshow"
 useTitles = On
 hasPrevNextLinks = Off
-width = 720 
-height = 480
+width = 1000
+height = 450
 
 ; time between the fades in milliseconds
 [rotation time]
index e2c393a..e587bdf 100644 (file)
@@ -15,7 +15,7 @@
     left: 260px !important;
     }
 #slider-wrapper {
-    width: 587px;
+    /*width: 587px;*/
     margin-left: auto;
     margin-right: auto;
     height: auto;
index 785c3dc..ef82abd 100644 (file)
             <div class="row collapse">
               <div class="small-12 columns">
                 {if:isHomePage}
-                <img src="{mediaBaseURL:h}assets/home_header.jpg" />
+                  {if:rotatingImages}
+                    {rotatingImages:h}
+                  {else:}
+                  <img src="{mediaBaseURL:h}assets/home_header.jpg" />
+                  {end:}
                 {else:}
                 <img src="{mediaBaseURL:h}assets/interior_header.jpg" />
                 {end:}