Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-06-30 20:24:05
- _n
- Member
- Registered: 2005-07-13
- Posts: 44
bas_lightbox and limits
‘allo
Simple question probably, but I can’t seem to find an answer to it while sifting through the forums, nor in any documentation (though i may have just not seen it). I’m using the bas_lightbox plugin. I would like to limit the thumbnails displayed. Is there a way to do that?
So for example…I’d like to be able to do something like:
<txp:bas_lightbox cat=“steveInfographics” limit=“5” />
or maybe there is another plugin that i can use in addition to this one?
thanks! :)
Offline
Re: bas_lightbox and limits
I’m surprised there’s no limit attribute. Have you tried upm_image (I believe there’s a lightbox example in the forum thread or the help) or wet_for_each_image?
If you get no joy from those plugins or anybody else, there’s always smd_slimbox (which, despite its name, isn’t limited to just slimbox any more) or its bigger brother smd_gallery. But they are both quite heavyweight in terms of options so if you only need a simple category/limit, try the “lighter” two plugins first.
Last edited by Bloke (2008-06-30 20:46:32)
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
#3 2008-06-30 21:01:34
- _n
- Member
- Registered: 2005-07-13
- Posts: 44
Re: bas_lightbox and limits
Hmm. I will tool with the upm_image ones for a bit, and see what happens.
Thanks! :)
Offline
#4 2008-10-30 02:32:53
- davidoleski
- Member
- Registered: 2008-10-24
- Posts: 10
Re: bas_lightbox and limits
I just realized I made a post in the wrong forum, so I’m posting it again, here.
Which part of Lightbox am I not understanding? I’ve been slugging my way through one thing after another, every plugin goes snap pop and works, for some reason Lightbox isn’t even beginning to do anything. What does this first line mean, “Please <txp:bas_lightbox_head /> into your sites head, this tag will add all script and css to your site.” Does it mean the page template? Why is nothing working? I’m going through one forum after another, everyone is tweaking details of a working platform, but I can’t get things to even start.
Yes, I have almost no idea what I’m doing in some things, in other things I actually do quite well. I’d appreciate any help.
Offline
Re: bas_lightbox and limits
<txp:bas_lightbox_head />
has to go in the <head>
of your site. Some people put the head in their page, some use a form. Wherever your head is stick <txp:bas_lightbox_head />
in it.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Pages: 1