?

Log in

No account? Create an account
 

Couple of S2 questions and some URL ideas

About  

Previous Entry Couple of S2 questions and some URL ideas Jul. 26th, 2004 @ 02:03 pm Next Entry
I'm designing a custom style and I have a couple of S2 questions. Firstly, where can I find some documentation on $*thumbnails and what are allowable values for it? Secondly the $.trails variable on the PicturePage doesn't seem to be being filled up - is this just an oversight? It's possibly the same on the other pages - haven't tried it there. Same also seems to be true of $.galleries, which I don't care about so much. I'm using the $.parent_links for the time being, but that only gives me the galleries which directly contain the picture - e.g. Alex, Cassie instead of People -> Alex and People -> Cassie (which is what I assume trails would give me). Oh, load_gallery_previews doesn't seem to be available either.

Couple of feature suggestions: using fotobilder, I've been able to do most of the things I can do with my current galleries (http://www.tinyjo.net/gallery/) but there are a couple of things that I would like to see. The first is that I prefer to display the full details about a picture, including what galleries and so on it belongs to everywhere it's displayed. Currently I only seem to have access to that on PicturePage, which is annoying (or should, but don't - see above). The other thing that I like to do is display on the front page a few random pictures from anywhere in my album. I can see that I can get random pictures from a specific array of pictures, but that doesn't help. The first one is probably just me, but I think the second one would definitely be cool.

And finally, a suggestion for gallery URLs. What I would like to be able to do is link to http://pics.livejournal.com/tinyjo/gallery-short-name/ to get to an individual gallery, a bit like the links to read friends groups on LJ. I haven't checked to see if short names must be unique, but otherwise this should work. I'm not sure if it should be heirachical (e.g. http://pics.livejournal.com/tinyjo/parent-gallery/child-gallery/) or not, but yeah, throwing it out there.

If any of this is out of place here, please give me a shout and I'll yoink it - I'm still new here.
Current Mood: productive
Leave a comment
[User Picture Icon]
From:whitaker
Date:July 26th, 2004 09:48 am (UTC)
(Link)
I believe the public S2 layer documentation is still unlinked (need to fix that!), but this should help you get started as far as S2 docs go:

-- http://pics.livejournal.com/manage/styles/advanced/layerbrowse

Pretty gallery linking is coming soon. Don't have exact details for you about how it will work, but we'll be adding it soon.
[User Picture Icon]
From:tinyjo
Date:July 26th, 2004 11:23 am (UTC)
(Link)
Yeah, I got that from the lj_userdoc post with the FAQ proposals (although you're right, it's not linked elsewhere) and it has got me quite far (I've got a more or less functional style) but I just can't seem to find actual documentation of $*thumbnails. What I've done so far I've had to infer from squinting at the code for other styles, so it'd be nice to know that I'm not missing any tricks.

Yay for the gallery linking. Once it's there I'm sure I can bend it to my will :)
[User Picture Icon]
From:jproulx
Date:July 26th, 2004 11:39 am (UTC)
(Link)
$*thumbnails is one of the influential properties defined in core: http://pics.livejournal.com/doc/manual/s2.inf_props.html

We'll have better means of documentation soon.
(Leave a comment)
Top of Page Powered by LiveJournal.com