Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-02 08:02:31

fiddle
Member
Registered: 2007-10-03
Posts: 87

bas_lightbox plugin question

Hi, Ive just installed the Bas_lighbox plugin, I noticed that if you make a custom field named “lightbox” , you get a drop down menu of the image categories. I was curiouse what the use of this was..? thanks

Offline

#2 2007-12-02 08:45:37

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: bas_lightbox plugin question

I am using an old hacked version of the plugin and this funcyionality is not there, but I would think it is there to help automate the choice of what is displayed on the page

So You probably can have something like the following code in an article form

<txp:if_custom_field name="lightbox"><txp:custom_field name="lightbox"></txp:if_custom_field>

The code would parse all images in the image category chosen in that custom field


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Online

#3 2007-12-02 10:27:47

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

Re: bas_lightbox plugin question

fiddle wrote:

I noticed that if you make a custom field named “lightbox” , you get a drop down menu of the image categories.

Thanks for highlighting this, I missed it. Interesting… I wonder if this sort of functionality might be of use in smd_slimbox now the ability to sub-section images from a single tag is available. Maybe in the next major rev which officially supports jquery, I can add the ability to output a list of matched image categories that can be styled? It could be used to perhaps “switch” from one category to another using jquery to enable/disable the various groups; which is potentially better than having all the images in a long list down the page.

*ponder*


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

#4 2007-12-02 20:26:31

NeilA
Member
From: Blue Mountains, Australia
Registered: 2004-08-15
Posts: 316
Website

Re: bas_lightbox plugin question

Bloke wrote:

Thanks for highlighting this, I missed it. Interesting… I wonder if this sort of functionality might be of use in smd_slimbox now the ability to sub-section images from a single tag is available.

Yes please Stef! I love slimbox…


Neil – Blue Mountains, Australia

http://westserve.org
http://ministrygrounds.net.au

Offline

#5 2007-12-03 05:06:17

fiddle
Member
Registered: 2007-10-03
Posts: 87

Re: bas_lightbox plugin question

Does anybody know if there is a way to set a limit of images to display, I guess like articles, show oldest/newest, so all images arent on one page.? I probably need to use another image gallery for that? thanks

Offline

Board footer

Powered by FluxBB