From 3152c7ac5c2c356e0b14473541358771366d0d1b Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 29 Aug 2014 15:04:36 -0400 Subject: [PATCH] SlideShow setup for 1000 x 450 --- Toolkit/Page.php | 9 +++++---- Toolkit/RotatingImages/config.ini | 4 ++-- Toolkit/RotatingImages/templates/rotatingImages.html | 2 +- templates/template.html | 6 +++++- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/Toolkit/Page.php b/Toolkit/Page.php index 3bdd095..7ebcd84 100755 --- a/Toolkit/Page.php +++ b/Toolkit/Page.php @@ -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(); } } diff --git a/Toolkit/RotatingImages/config.ini b/Toolkit/RotatingImages/config.ini index 6eb99bc..1e7d7aa 100644 --- a/Toolkit/RotatingImages/config.ini +++ b/Toolkit/RotatingImages/config.ini @@ -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] diff --git a/Toolkit/RotatingImages/templates/rotatingImages.html b/Toolkit/RotatingImages/templates/rotatingImages.html index e2c393a..e587bdf 100644 --- a/Toolkit/RotatingImages/templates/rotatingImages.html +++ b/Toolkit/RotatingImages/templates/rotatingImages.html @@ -15,7 +15,7 @@ left: 260px !important; } #slider-wrapper { - width: 587px; + /*width: 587px;*/ margin-left: auto; margin-right: auto; height: auto; diff --git a/templates/template.html b/templates/template.html index 785c3dc..ef82abd 100644 --- a/templates/template.html +++ b/templates/template.html @@ -72,7 +72,11 @@
{if:isHomePage} - + {if:rotatingImages} + {rotatingImages:h} + {else:} + + {end:} {else:} {end:} -- 2.17.1