WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • bakeryslider: pause timing, product titles, width CSS, num of products
  • Print
Pages: [1]   Go Down

Author Topic: bakeryslider: pause timing, product titles, width CSS, num of products  (Read 4334 times)

Offline seanie_morris

  • Posts: 301
  • Gender: Male
bakeryslider: pause timing, product titles, width CSS, num of products
« on: September 13, 2016, 11:57:36 AM »
Hi,

Trying out the bakerslider module on a page, and I am having some problems:

1. Width values: I am testing the options in frontend.css to manage the width e.g. min-width: 90%; width: 100%, and so on, but my values have no change from the default when it is first installed. I can change the colour etc, so I know I am editing the right file in the right location. The width seems to constantly remain around 610px wide.


2. How can I change the  pause time in the slider to longer/shorter, or none at all? I have tried out options in include.php, but the only thing I can't seem to change is the removal of the pause value.
Line 39 is the current setting:
Code: [Select]
$output .= ' auto: 2000,'.$n;
$output .= ' speed: 2000,'.$n;


3. Image titles: none are displayed, yet the option is confirmed to do so. My slider shows only images, no text. Even if there was no image title, the instruction on Line 72 where there is no image title:
Code: [Select]
else {
echo '<p>example tagline here</p>'.$n;
}
does not display.


4. Changing the number of items displayed has no effect. Line 4:
Code: [Select]
function bakeryslider($items = 0, $view_order = 2, $visible = 25) { is my new setting, changing $visible from 5 to 25, but the slider shows a maximum of 6 images before looping back to the same first image. ((I wonder if my width issue in point 1 above is related somehow.))


Thanks in advance,

Seanie.
« Last Edit: September 13, 2016, 12:05:30 PM by seanie_morris »
Logged

Offline jacobi22

  • Betatester
  • **
  • Posts: 5920
Re: bakeryslider: pause timing, product titles, width CSS, num of products
« Reply #1 on: September 13, 2016, 05:25:58 PM »
maybe, the readme helps with a link to the doku -> http://www.gmarwaha.com/jquery/jcarousellite/documentation.php

"auto" is the time between two slides, here 2 seconds = 2000 ms
"speed" is the time for one slide, here also 2 seconds = 2000ms

Code: [Select]
function bakeryslider($items = 0, $view_order = 2, $visible = 25) {
not sure, what happend in the actual version, i did not check a addon anymore, if somebody overtake them

$items are the sum of all items in this slider
$visible are the number of visible pics in the slider box

in my version  of this module/snippet, the code from the top show: nothing, because $items is empty

for example:
you have 10 visible items - means: bakery products
a slider with 10 Items, no max-width in css and! 25 visible pics, show in the slider the 10 pics and 15 free places
a slider with 10 Pics, but only 4 in $visible, show 4 visible pics, when you open the page and has the other 6 in a unvisible list (see in source code)
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • bakeryslider: pause timing, product titles, width CSS, num of products
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2