Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

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

#517 2008-06-15 09:27:07

mauricenaef
Member
Registered: 2008-01-31
Posts: 23

Re: smd_slimbox

I’ve tried that, but it somehow outputs all the images uploaded. If I limit to 1 it shows me the Image with the lowest ID.
In the article. My Article ID and Image ID are not the same just for info

Offline

#518 2008-06-15 09:32:28

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: smd_slimbox

mauricenaef wrote:

I’ve tried that, but it somehow outputs all the images uploaded.

*cough* correction <txp:smd_slimbox imageid="?article_image" />

Sorry, getting my smd_gallery and smd_slimbox attributes mixed up… again.


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

#519 2008-06-15 09:41:11

mauricenaef
Member
Registered: 2008-01-31
Posts: 23

Re: smd_slimbox

:-) thanks, did the job!!!

Great plugin, love it!!
Regards Marcel

Offline

#520 2008-06-19 23:40:33

robin746
Member
From: Ireland
Registered: 2007-09-22
Posts: 113
Website

Re: smd_slimbox

Just wanted to say, Stef that you really go beyond the call of duty in your support. If I can sometime buy you a burger or plate of bangers’n‘mash to stuff in your face I will. :-)


robin

Offline

#521 2008-06-20 08:46:48

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: smd_slimbox

robin746 wrote:

Just wanted to say, Stef that you really go beyond the call of duty in your support. If I can sometime buy you a burger or plate of bangers’n‘mash to stuff in your face I will. :-)

Thanks! Much appreciated, and glad I’m of some use. I really enjoy mucking about with TXP; pretty much every time I use it I get a surprise about how flexible it really is.

The few times it doesn’t quite meet my needs I write a plugin which sometimes helps others. And if that doesn’t quite work I can rely on the good community folk like yourself to suggest enhancements or bug reports to make it even better. At the risk of using a management platitude, it’s win-win :-D

So thanks in turn for your support of what I do.


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

#522 2008-06-20 11:07:23

keith
Member
From: Blyth, Northumberland, England
Registered: 2004-12-08
Posts: 199
Website

Re: smd_slimbox

robin746 wrote:

If I can sometime buy you a burger or plate of bangers’n‘mash to stuff in your face I will. :-)

You can always do this


Keith
Blyth, Northumberland, England
Capture The Moment

Offline

#523 2008-06-23 12:14:04

tragic monkey
New Member
From: Brisbane
Registered: 2008-05-03
Posts: 6
Website

Re: smd_slimbox

I am having problems getting this plugin to work. I have been reading the instructions and previous posts for ages and still have not got on top of the problem. I have tried very hard before resorting to ask here.

I have the latest mootools 1.2 with all the plugins
I have slimbox 1.63.

These reside in:

<script type=“text/javascript” src=“js/mootools.js”></script>
<script type=“text/javascript” src=“js/slimbox.js”></script>

I have the appropriate and up-to-date smd_smlimbox and smd_lib installed and active.

I am trying to get it to work on a gallery page on this test gallery that links to images with category “fish” using:

<txp:smd_slimbox category=“fish” limit=“4”/>

to test the plugin.

It is just not happening for me. Any help or tips from a kind soul who can spot any glaring errors would be most appreciated.

Kind regards,

Offline

#524 2008-06-23 12:19:20

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

Re: smd_slimbox

tragic monkey schrieb:

<script type=“text/javascript” src=“js/mootools.js”></script>
<script type=“text/javascript” src=“js/slimbox.js”></script>

I know your problem, I had the same. Try a simple slash before your js:
<script type=“text/javascript” src=”/js/mootools.js”></script>
<script type=“text/javascript” src=”/js/slimbox.js”></script>

Or look otherwise on the exact path.

dave

Offline

#525 2008-06-23 12:21:26

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: smd_slimbox

tragic monkey

If I was a betting man I’d say it’d be the path to your javascript files and/or css. They are set to js/mootols.js and js/slimbox.js so the browser cannot find them. Add a / at the beginning and it should work.

EDIT: dang, gluteus beat me to it :-)

Last edited by Bloke (2008-06-23 12:21:54)


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

#526 2008-06-23 12:36:26

tragic monkey
New Member
From: Brisbane
Registered: 2008-05-03
Posts: 6
Website

Re: smd_slimbox

tried this to no avail.

I tried <txp:site_url />js/mootools.js and <txp:site_url />js/slimbox.js

as well but still nothing. I think it is me. I seem to be a Jonah when it comes to trying to add javascrpt to my websites.

Offline

#527 2008-06-23 12:39:56

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

Re: smd_slimbox

Thats not the best way to do this.
Keep up with:
<script type=“text/javascript” src=”/js/mootools.js”></script>
<script type=“text/javascript” src=”/js/slimbox.js”></script>.

Or tell us in which folder do you have your js-files.

Offline

#528 2008-06-23 12:43:55

tragic monkey
New Member
From: Brisbane
Registered: 2008-05-03
Posts: 6
Website

Re: smd_slimbox

the files are in:

http://johnmarquess.com/fish/js/…

Offline

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

Board footer

Powered by FluxBB