Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Plugin support
  3. » smd_slimbox

#205 2007-07-30 09:49:16

gluteus
Member
From: Switzerland
Registered: 2007-01-20
Posts: 74

Re: smd_slimbox

Of course… I feel so stupid…
It works now everywhere!
Thanks a lot!
dave

Offline

#206 2007-07-31 11:39:05

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,263
Website GitHub

Re: smd_slimbox

Just released a minor update. No new options in the plugin, but the zip package now includes the latest versions of smd_lib (v0.21c), Christophe’s slimbox js/css library (v1.41), and mootools (v1.1). You may also be pleased to hear that the plugin help docs are (finally) easier to read/navigate. Hooray!

If you had issues with white speckled pixelly images in IE or some weird shenanigans with the next/prev slimbox links, or you hated fighting the horrible help file, this is the release for you.

Take v0.25a for a spin, remembering to replace the js/css files as well, and let me know how you get on.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#207 2007-08-03 09:54:17

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: smd_slimbox

Nice plugin, but something’s going wrong. I’ve installed both the plugin and lib, but clicking at thumbnail causes showin the full-size image somewhere down, and not over the page, and there is now darken opacity effect, as it’s shown at http://www.huddletogether.com/projects/lightbox2/ :(
I’ve added example-layout.css to my default css style, but still there is no effect :( What i’ve lost to do?


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#208 2007-08-03 12:04:38

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: smd_slimbox

the_ghost

Please post your page code or the link.

I think I had a similar issue that I may be able to help you with ….

progre55

Offline

#209 2007-08-03 12:24:26

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: smd_slimbox

http://okoshki.by/page.txt – link to my page code

http://okoshki.by/page.txt – link to my css style.

Anything more?


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#210 2007-08-03 12:46:08

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: smd_slimbox

the_ghost

I cannot see your form:

<txp:output_form form="slimbox_inc" />

but it should look similar to this:

<script type="text/javascript" src="http://99.999.99.99/js/prototype.lite.js"></script> <script type="text/javascript" src="http://99.999.99.99/js/moo.fx.js"></script> <script type="text/javascript" src="http://99.999.99.99/js/slideshow.js"></script>

I would probably put it after the css (not sure if it makes a difference, but that is how I do it.)

Make sure you are calling the plugin by:

<txp:smd_slimbox category="fixed, ?id" orderby="title:asc" showpagelinks="0"/>

or something similar to the above …

Finally, inside the page I noticed:

bos_image display …

I would suggest removing/disabling that plug in and seeing if it has any effect … there may be a conflict ….

progre55

Offline

#211 2007-08-03 12:53:29

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: smd_slimbox

http://www.okoshki.by/about/proverka-galerei – here is the link to working gallery.

Here is the content of form “slimbox_inc”

<txp:smd_slimbox_inc
jsdir="/textpattern/slimbox/js"
cssdir="/textpattern/slimbox/js" />

Path is good – the following code appears in html:

<!-- Подключаем библиотеку галереи -->
<script type="text/javascript" src="/textpattern/slimbox/js/mootools.js"></script>
<script type="text/javascript" src="/textpattern/slimbox/js/slimbox.js"></script>
<link rel="stylesheet" href="/textpattern/slimbox/js/slimbox.css" type="text/css" media="screen" />

Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#212 2007-08-03 12:56:38

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: smd_slimbox

Ouch! I found the mistake was in path to slimbox.css… Now everything is working nice! Thank you!


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#213 2007-08-03 21:03:54

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: smd_slimbox

The new bug,i think :)
In some computers slimbox works bad: in main window it opens directly desirable image (http://www.okoshki.by/images/32.jpg in adress bar) and opens new window with such string in adress bar:
http://www.okoshki.by/images/32.jpg,,http://www.okoshki.by/images/33.jpg,,http://www.okoshki.by/images/34.png,Сертификат%20получен%20ля%20ля%20ля
As you can see, it contains links to 3 images and alt text for one of them – it was entered only for one image…


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#214 2007-08-03 22:34:18

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: smd_slimbox

One question more – what Components do mootools.js contain? I’d like to use some of abilities of that framework, and want to “recompile” the script, that was with slimbox plugin.
The page to select components – http://mootools.net/download


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#215 2007-08-04 00:33:39

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: smd_slimbox

Bloke wrote:

Now that jQuery has been decided, I’m going to approach wet and ask about ways to do this. I haven’t much idea right now; I can see how I want it to work but I can’t decide the best way to do it.

just wanted to express an interest in this! i have some other jquery functions i’d like to utilize and dont really want to load mootools along with jquery

Offline

#216 2007-08-04 09:14:18

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,263
Website GitHub

Re: smd_slimbox

@the_ghost:

In some computers slimbox works bad… it contains links to 3 images and alt text for one of them

I’ve never seen this type of behaviour before. Can you post the tags you’re using and/or a link to a page that exhibits this behaviour (http://www.okoshki.by/ is giving a 500 internal server error right now)?

Since slimbox shouldn’t be able to even generate this ’3 image’ output, I wonder if it’s a plugin/framework clash or simply conflicting options? Of course, it could well be a bug…

One question more – what Components do mootools.js contain?

The list is on Christophe Beyl’s page. But if you want to include more so you can use other parts of the library, you are free to do so.

@iblastoff:

Having now played with jQuery a bit, I too would prefer to use it over mootools (no disrespect to the mootools clan who are all incredibly talented, but the jQuery community is much friendlier for dimwits like me asking questions). The only reason I picked mootools was because that’s what Christophe wrote slimbox in.

I’ve trawled the web for people who may have ported slimbox to the jQuery framework and turned up nothing so far. Someone has released a (buggy) lightbox implementation; there’s also a thickbox implementation (which I don’t particularly like) but no slimbox as yet. If you find one or know a jQuery whizzkid, by all means send them my way.

I’m sure given time, or an infinite supply of monkeys, I could port it myself but I’m not up to speed with how slimbox works its magic, nor how to emulate that in jQuery/interface. I have, however, just started work on what I hope to be the successor to smd_slimbox: smd_thumbs. I’m ripping out all the custom slimbox code and just concentrating on super-flexible thumbnail generation. From there I intend to offer a framework that allows other authors to write bolt-on modules such as slimbox, thickbox, lightbox, thumbpop, slideshow, blah blah to take the list of thumbs and do something useful with it. Just hope I can make it work!

btw, I asked wet for help but he’s a very busy man with the TXP core among other things so, understandably, I’m on my own with this. That equates to “it may take some time”.

Last edited by Bloke (2007-08-04 09:17:41)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

  1. Index
  2. » Plugin support
  3. » smd_slimbox

Board footer

Powered by FluxBB