Textpattern Forum

You are not logged in. Register | Login | Help

#731 2012-01-27 09:44:48

jens31
Plugin Author
From: munich / dtschermani
Registered: 2008-08-25
Posts: 183
Website

Re: smd_slimbox

hi abcdefg

here is your missing attribute:
sort='fixed'

as it says in the plugin help:
fixed forces thumbs to be output in the order given in imageid.

Offline

#732 2012-03-14 10:56:41

keukenkikker
Member
From: Netherlands
Registered: 2006-08-08
Posts: 66
Website

Re: smd_slimbox

Hello Bloke,

I’ve a problem using smd_slimbox. The black overlay doesn’t appear. Everything else is working fine. Can you help me out? I have other websites using this plugin and they’re working fine.

Please have a look at: http://www.dekeuterij.nl/fotoalbum

I’m using Textpattern v4.4.1 – Slimbox2.js v2.04 – Mootools.js

Offline

#733 2012-03-14 11:08:55

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 6,000
Website

Re: smd_slimbox

keukenkikker wrote:

The black overlay doesn’t appear.

That’s normally a symptom of the page not validating. I notice you have validation errors and one of your divs (<div id="image">) is not closed. That might be a place to start looking.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

#734 2012-03-14 11:25:23

keukenkikker
Member
From: Netherlands
Registered: 2006-08-08
Posts: 66
Website

Re: smd_slimbox

Oops. I’ll have a look into that! Thanks!

Sharon

Offline

#735 2012-03-14 13:02:34

keukenkikker
Member
From: Netherlands
Registered: 2006-08-08
Posts: 66
Website

Re: smd_slimbox

Hi Bloke,

I’ve validated the code, there where 2 </div>s missing. I also checked if it had anything to do with the datepicker I use, so I disabled it, but unfortunatly it didn’t solve the problem. Other tips?

Offline

#736 2012-03-14 13:09:36

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 6,000
Website

Re: smd_slimbox

keukenkikker wrote:

Other tips?

My guess is it’s your CSS file. Look at the bottom of the file where the slimbox section is:

/* SLIMBOX */
-----------------------------------------------------------------------------*/
#lbOverlayX {

Two things here:

  1. The trailing */ on the first line is ending the SLIMBOX comment instead of the one at the end of the row of dashes
  2. the ID of the overlay is #lbOverlay not #lbOverlayX

Try fixing those and see if things go better.

Last edited by Bloke (2012-03-14 13:10:05)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

#737 2012-03-14 13:15:01

keukenkikker
Member
From: Netherlands
Registered: 2006-08-08
Posts: 66
Website

Re: smd_slimbox

Solved! It was caused by nr. 1. It’s always the simple one …

(nr. 2 I changed on purpose when I renamed the overlay – also in the script)

Thanks!
Sharon

Offline

#738 2012-04-16 09:58:31

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 539
Website

Re: smd_slimbox

Is it possible to let smd_slimbox render a limited amount of thumbnails (say 3) and clicking each thumbnail will trigger a lightbox in which all the images in a cat (say 20 img) will be shown? Or is it only possible with smd_gallery?

Offline

#739 2012-04-16 10:21:21

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 6,000
Website

Re: smd_slimbox

RedFox wrote:

Is it possible to let smd_slimbox render a limited amount of thumbnails

Nope, sorry: it’s an smd_gallery feature only.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

#740 2012-09-02 17:27:28

castanet
Member
From: Oxford
Registered: 2005-03-19
Posts: 97

Re: smd_slimbox

Help!

I have had slimbox working for years very happily on a friend’s site and then I noticed a new version of the plugin was available so I updated it and… got this error message:

Fatal error: Call to undefined function: smd_dolist() in /home/www/mydomain.com/textpattern/lib/txplib_misc.php(653) : eval()’d code on line 118

In a panic I pasted back in the old slimbox plugin code which got rid of the error message but now the thumbnails do not appear.

Any help much appreciated

Offline

Board footer

Powered by FluxBB