Page 1 of 1

Simple Simplex Template Teaser Interval Question

Posted: Sat Aug 24, 2013 9:27 am
by rovercar
I hope I am posting this in the correct area!

I am using a lightly adapted version of the Simplex theme as included in the latest download of CMSMS. Mostly colors and some placement changes.

The teaser slideshow is working perfectly, but I would like to increase the change interval so that the images remain in place just slightly longer before changing.

Is there an easy way to do this without overcomplicating things?

Thanks for any help!

I am familiar with the lines in the template code below, but I don't see any place to adjust the interval:


<div class='banner-image cf'>
{strip}
{* you do not need a module for every simple site functionality. For example you can build a simple slideshow
with php glob function (http://www.php.net/manual/en/function.glob.php) without wasting your system resources
by using modules or plugins.
Below would search for files matching .jpg in folder named teaser in simplex theme folder *}
{assign var='teaser' value='uploads/simplex/teaser/*.jpg'|glob}
{foreach from=$teaser item='one'}
<div><img src='{root_url}/{$one}' width='820' height='240' alt='' /></div>

Re: Simple Simplex Template Teaser Interval Question

Posted: Sat Aug 24, 2013 2:45 pm
by Jo Morg
On the bottom of the template there should be this bit of code:

Code: Select all

<!-- #wrapper //--> 
{cms_jquery exclude='jquery-ui.min.js,jquery.ui.nestedSortable.js,jquery.json.min.js' append='uploads/simplex/js/functions.min.js'}
<__body>
</__html> 
uploads/simplex/js/functions.min.js is where the time is set.
There is also a version of this file, not minified and commented: uploads/simplex/js/functions.js.
HTH