Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

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

#637 2009-04-19 09:03:05

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

Re: smd_slimbox

colak wrote:

I’m yet not sure if I should go with this plugin or your more versatile smd_gallery.

<subliminal_message>Gallery… Gallery… Gallery…</subliminal_message> :-)

(unless of course you prefer the simpler syntax of this plugin)


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

Online

#638 2009-06-09 08:22:32

feytus
Member
Registered: 2009-06-02
Posts: 43

Re: smd_slimbox

Yo! I get this message when trying to implement this script on my page;

Tag error: <txp:smd_slimbox_inc jsdir=”/js” cssdir=”/css” /> -> Textpattern Warning: tag does not exist on line 1104

Is the tag outdated, or what is wrong?

Offline

#639 2009-06-09 08:55:25

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: smd_slimbox

Did you activate pluging after installation? Did you install (and activated) both smd_slimbox and smd_lib ?

Last edited by the_ghost (2009-06-09 08:55:43)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#640 2009-06-09 09:10:18

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

Re: smd_slimbox

feytus wrote:

Tag error: <txp:smd_slimbox_inc jsdir=”/js” cssdir=”/css” /> -> Textpattern Warning: tag does not exist on line 1104. Is the tag outdated

Yes. That tag has been removed. The docs explain how to use the plugin.

Last edited by Bloke (2009-06-09 09:18:55)


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

Online

#641 2009-06-20 17:22:43

betatest-fr
New Member
Registered: 2009-06-20
Posts: 3

Re: smd_slimbox

my textpattern 4.0.8
install inside /EN

my preferences :
www.sansexception.org/EN

my htaccess : RewriteEngine On RewriteBase /EN

directory and links to rename ( textpattern=se )

my head :
<script type=“text/javascript” src=”<txp:site_url/>se/js/mootools.js”></script>
<script type=“text/javascript” src=”<txp:site_url/>se/js/slimbox.js”></script>
<link rel=“stylesheet” type=“text/css” href=”<txp:site_url />se/css/slimbox.css” />

my article :
<txp:smd_slimbox category=“Coriolis” limit=“10” />

result :
http://www.sansexception.org/EN/

mootools : 1.2.2
slimbox : 1.7

test on apple mac :
ok : safari – omniweb
NOT WORK on firefox – camino ( image at left-below )

strange ? please, any help ?

Offline

#642 2009-06-20 18:06:18

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

Re: smd_slimbox

betatest-fr

Your stylesheet line is using ‘curly quotes’:

<link rel=“stylesheet” type=“text/css” href="<txp:site_url />se/css/slimbox.css" />

It should be using ‘straight quotes’:

<link rel="stylesheet" type="text/css" href="<txp:site_url />se/css/slimbox.css" />

Last edited by Bloke (2009-06-20 18:06:45)


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

Online

#643 2009-06-21 06:25:44

betatest-fr
New Member
Registered: 2009-06-20
Posts: 3

Re: smd_slimbox

many thanks
i’m a stupid apple macintosh’s people : ‘ straight ‘ convert automatic to ‘ curly ‘

i like very much your british humors with pictures randomly in your website
just a question
you take yourself photos, or by another people ?
thank a lot

Offline

#644 2009-06-21 10:48:41

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: smd_slimbox

betatest-fr wrote:

i’m a stupid apple macintosh’s people : ‘ straight ‘ convert automatic to ‘ curly ‘

depends on the program, not the platform. :)

Offline

#645 2009-06-21 11:38:40

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: smd_slimbox

betatest-fr wrote:

i’m a stupid apple macintosh’s people : ‘ straight ‘ convert automatic to ‘ curly ‘

TextWrangler is a fine freeware text editor for Mac OS X. (requires OS X 10.4 or later). Won’t curl your quotes unless you tell it to.


Code is topiary

Offline

#646 2009-06-25 21:13:02

betatest-fr
New Member
Registered: 2009-06-20
Posts: 3

Re: smd_slimbox

> maverick
of course “ depends on the program “ , usually with perfect TextEdit software from Apple,
typing automatic in « french curly » and “ international curly ” not easier to think to type “ “

> jsoo
wow, TextWrangler, too many options, « really freeware » ? simply « Skip Registration ? »

thanks

Offline

#647 2009-06-26 02:27:43

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: smd_slimbox

betatest-fr wrote:

wow, TextWrangler, too many options, « really freeware » ? simply « Skip Registration ? »

From the TextWrangler download page:

TextWrangler is fully featured and functional—it will not expire. It’s free (as in beer). Enjoy!

Skip registration if you like; it makes no difference.


Code is topiary

Offline

#648 2009-08-12 21:51:38

JBauerisGod
New Member
Registered: 2009-08-12
Posts: 1

Re: smd_slimbox

Edit: I already found my solution! With a little searching on Textpattern Resources I found this plug-in titled ckr_image_count that does exactly what I needed.

Hi!

I was just wondering if there was some way to only proceed with the slimbox image if the image category has more than one image.

Essentially, I’m helping to build a news website for a friend who works for a high school as a journalism teacher. On an individual article’s page, I have the main image and caption that’s linked with the article shown beside the body of the story. If there is only one image, it would be kinda redundant to be able to click on the image and have the slimbox pop up showing only that one image. However, if there is say three or four pictures in a certain category I want the slimbox effect to proceed.

I know, confusing. I’ve never programmed in PHP, but all I really need to know if there is some basic code either in smd_slimbox or in txp itself that says something to the tune of:

if image_num > 1
  *display slimbox*
else
  *display article image*

Sorry if that’s too confusing!

Last edited by JBauerisGod (2009-08-13 00:02:08)

Offline

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

Board footer

Powered by FluxBB