Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#529 2008-06-23 12:46:16
- gluteus
- Member
- From: Switzerland
- Registered: 2007-01-20
- Posts: 74
Re: smd_slimbox
Did you upload the js files by ftp? I hope so. Tell us the folder on your server, it depends where they are.
Offline
#530 2008-06-23 12:47:05
Re: smd_slimbox
Hi
Wanderful plugin!
I use it in my new website, but i use Jqery plugin (because jquery is installed by default in textpattern) with jQuery lightbox plugin
You have nothing to change in smd_slimbox to work with this lightbox.
it s easy to implement and it work just fine:
look here: National Park of Chrea in Algeria
Nota: the site is still under construction.
Cheers
Offline
#531 2008-06-23 12:47:19
Re: smd_slimbox
@gluteus
yes, ftp.
/www/fish/js/
Last edited by tragic monkey (2008-06-23 12:48:43)
Offline
#532 2008-06-23 12:48:52
Re: smd_slimbox
tragic monkey
In which case you need:
<script type="text/javascript" src="/fish/js/mootools.js"></script>
<script type="text/javascript" src="/fish/js/slimbox.js"></script>.
EDIT: stupid quotes.
Last edited by Bloke (2008-06-23 12:50:18)
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
#533 2008-06-23 12:51:43
Re: smd_slimbox
Dragondz
Nice! I hadn’t spotted that jQuery lightbox plugin. Thanks for letting us know about it.
Last edited by Bloke (2008-06-23 12:52:03)
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
#534 2008-06-23 12:57:26
Re: smd_slimbox
@gluteus and Bloke
and still no. I will have to give up now as it is late and I am tired. I will maybe try with the jQuery plugin tomorrow. Thanks very much for all the effort though. It is much appreciated.
John.
Last edited by tragic monkey (2008-06-23 12:58:20)
Offline
#535 2008-06-23 13:07:08
Re: smd_slimbox
tragic monkey
The version of mootools you are linking to now at /fish/textpattern/mootools.js
is Mootools More and not the original mootools file, as far as I can tell. Don’t you need both now? I’ve not followed mootools for a while but it looks like they’ve split the functionality into core + modules.
*shrug* everything else on your page looks fine but Firebug is telling me you’re getting javascript errors because the mootools library itself is missing.
Last edited by Bloke (2008-06-23 13:07:49)
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
#536 2008-06-23 20:35:19
Re: smd_slimbox
Bloke,
you are the guv’nor.
Ta.
Offline
#537 2008-07-02 17:33:38
Re: smd_slimbox
Arg! I thought this was working for me, but I was wrong.
I am trying to launch a slideshow from a single image, with navigation showing on the thumbnail. I am using the hack that hides a second instance of smd_slimbox, like so:
<txp:smd_slimbox thumbsize="270, 200" sort="fixed" limit="1" imageid="?article_image"/>
<div style="display:none;"><txp:smd_slimbox imageid="?article_image" /></div>
Correct thumbnails are shown but the first image is displayed twice in the lightbox. This is with the latest version. Adding sort=“fixed” to the second instance changes nothing.
(I also tried the latest version of smd_gallery, but as before the SQL executes correctly but I get no HTML at all inserted on the page.)
This is now live on a client’s site because I missed this glitch in testing. :-(
robin
Offline
#538 2008-07-02 19:12:15
Re: smd_slimbox
robin746 wrote:
Correct thumbnails are shown but the first image is displayed twice in the lightbox. This is with the latest version.
Hmm, it never used to do that (at least it never did it for me). Bummer.
Can you do me a favour and try the old version and see if it still does it. If it does, then it’ll probably be some change in mootools and we’ll have to find another way round it or get you up and running (somehow) with smd_gallery :-(
You could temporarily try the old version of mootools too.
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
#539 2008-07-03 12:56:01
Re: smd_slimbox
Bloke wrote:
Can you do me a favour and try the old version and see if it still does it. If it does, then it’ll probably be some change in mootools and we’ll have to find another way round it or get you up and running (somehow) with smd_gallery :-(
You could temporarily try the old version of mootools too.
It works but only with all three old file versions.
robin
Offline
#540 2008-07-03 13:17:18
Re: smd_slimbox
robin746 wrote:
It works but only with all three old file versions.
OK, thanks for testing it out. So something’s definitely changed in the later release which causes this trick to fail :-(
And I can’t think of a way round it in slimbox, so we need to get you going with smd_gallery.
Would you mind creating me a login and a test section that uses a copy of the same template as your live layout (can use the same stylesheet, I’ll not be touching that). Just make sure the latest smd_gallery is installed; I don’t need any super-duper privileges as long as I can see the content/presentation tabs and perhaps get at the plugin code.
If you can’t because it’s a live site or whatever, don’t worry about it and we’ll try something else. Perhaps if you have MSN/AOL/ICQ you could send me your details and we could chat that way to try and fix this now?
Drop me an e-mail if you like.
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