Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-10-11 07:57:33

yegga
New Member
Registered: 2009-10-11
Posts: 9

smd_slimbox

hello,

i’ve activated the smd_slimbox in my plugins.

i’ve also created a form called ‘smd_slimbox_inc’ containing :

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

is this enough to get a gallery running?

the form is of the type ‘file’. is this correct?

i’ve also included ‘<txp:smd_slimbox_inc />’ in between <head> </head> in my ‘default’ page

anything else? no images show up when i paste the following in one of my articles:

‘<txp:smd_slimbox category=“dogs” />’

where dogs is one of my image categories

Offline

#2 2009-10-11 08:05:59

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

Re: smd_slimbox

Hi yegga,

And welcome to txp.

You might get a quick and more precise response if you post your question in the plugin’s thread


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

Offline

#3 2009-10-11 14:57:38

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

Re: smd_slimbox

yegga

Which version of the plugin are you using? smd_slimbox_inc has been deprecated for a long time so you won’t need it in your page at all. You need to manually include the scripts you will be using for your lightbox implementation. Try this starting point.

Make sure you have smd_lib installed and activated too. After that, if you are not seeing any images from the given category, try putting your site in debugging mode (Admin->Prefs->Advanced), looking at your page source and finding the smd_slimbox tag in the Tag Trace at the bottom of the page. That might give you a clue as to what’s going on. Post the relevant parts of your tag trace here (or, as colak says, better on the smd_slimbox thread) if you want any further assistance.


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

Board footer

Powered by FluxBB