You are not logged in.
ROF—LOL (repeat a few times)
I just WILL not use flash.
Thanks for that, Purple Chump, awesome to have you around! You’re like a swiss army knife that’s seven feet wide.
“Oh, that’s what you wanna do, hmm ok, so the stock version of gallery can do most of that, except wash the cat… but here’s some PHP to help you do that… mkay?”
Last edited by mrdale (2008-05-21 23:19:32)
Offline
I am testing a new site on a local windows XP XAMP install and the output for the files url’s uses a “\” backward slash rather then a “/” forward slash which does not allow the image to resolve in FF and or display in FF (IE it is fine)…just thought I would report this slight bug and maybe let others know if they are having an issue with it.
By the way Bloke you rock!!!! Here is a gallery I just completed using this great plugin Bayou Magic Performer Labradors Gallery
cheers
Offline
cuda wrote:
on a local windows XP XAMP install and the output for the files url’s uses a “\” backward slash rather then a “/” forward slash
Thanks for letting me know. I believe I was riding on bogus info when I wrote the plugin so I’ll fix it in the next update. For the interested, I’m using the built-in DS constant to make up directory paths — which is supposedly the preferred way of doing it — except in local installs and other edge cases it can get it wrong as cuda found. I’ve since read that using a raw / is the best option so I’ll go with that instead.
Here is a gallery I just completed using this great plugin…
Thanks for the props. Nice gallery. Or is that a labbery ;-)
Last edited by Bloke (2008-06-21 08:29:48)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern.
Txp Builders – finely-crafted code, design and Txp
Offline
ever seen “Best in Show”….that’s all I got to say and thanks bloke for the php notes
Offline
Maybe this is easy and I’m just missing it, but is there a way to make an image’s url essentially the same as the url for {navnext}?
ie. Clicking on the image sends you to the next image in the sequence.
Offline
visualpeople wrote:
Maybe this is easy and I’m just missing it, but is there a way to make an image’s url essentially the same as the url for {navnext}?
Nope, not easy. But it is now :-)
This version adds:
{navfirstpageurl} : raw URL to the first page{navprevpageurl} : raw URL to the previous page{navthispageurl} : raw URL to the current page{navnextpageurl} : raw URL to the next page{navlastpageurl} : raw URL to the last pagepaging which switches paging on independently of using pageform (so you can have paging on but not use a pageform if you wish — using pageform automatically switches paging on, as before)So now you can do this:
<txp:smd_gallery category="?custom1" limit="1" form="gallery" paging="1" />
And in your gallery form:
<a href="{navnextpageurl}"><txp:image id="{id}" /></a>
The smd plugin menagerie — for when you need one more gribble of power from Textpattern.
Txp Builders – finely-crafted code, design and Txp
Offline
Just when I think I’m impressed by you and your plugin(s), you have to go and make it better…
This is excellent! Thanks so much. I wish everything was as flexible and expandable as this plugin.
Offline
Amazing work Stef! Just an stupid question … if I use wraptag and break to obtain a list of thumbnails and pagination, the pagination list is nested inside the thumbs list (at the top), but I want to have the list of thumbnails first and then the pagination list outside and after the first list … what’s the way to do this?
I’ve just tried this, taken from the examples:
<txp:smd_gallery category="zoo" sublevel="all" form="mygallery" limit="10" wraptag="ul" break="li" pageform="mygallery_nav" navwraptag="ul" navbreak="li" />
Thanks in advance!
Offline
duchamp wrote:
if I use wraptag and break to obtain a list of thumbnails and pagination, the pagination list is nested inside the thumbs list (at the top), but I want to have the list of thumbnails first and then the pagination list outside and after the first list
D’oh! Not a stupid question at all. Stupid coding, more like… *embarrassed*
Try v0.42 | compressed which splits the pageblock and the thumb blocks into two distinct areas, each with their own wrap and break tags (as they should have been all along). Thanks for spotting that.
In addition, there is now a new attribute pagepos which allows you to specify the position of the paging block. Default is below, but you can specify above instead of — or in addition to — this if you want the nav block to be repeated at the top and bottom of your thumbs. Use the delim character (default = comma) to separate the two options if you want them both, i.e. pagepos="above, below".
I also fixed a tiny bug in the previous version that output {navnextpageurl} and {navprevpageurl} even if there was no next/prev page. That’s now corrected so if you’re at either end of the pagination, those variables are correctly set empty when necessary. This also means you can detect this fact with smd_if and take action accordingly if you wish.
Hope that helps, and sorry to cause you bother.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern.
Txp Builders – finely-crafted code, design and Txp
Offline
Fantastic … superb … and Thanks!
Didn’t try it yet, Im going to work with TXP and that gallery later.
Anyway, you’re giving us one of the best plugins! Thx again!
Offline