Log in

No account? Create an account

Previous Entry | Next Entry

I know relatively little about S2 and CSS and whatnot, but, as a kind of pet project, I decided to centralize as many of my (Mixit-based) journal customizations as possible into a custom layer/style.  Basically, I wanted to take anything that had to be specified in the Customize Journal Style page and put it directly into the S2 code. I've combed this community and ones like it fairly thoroughly to figure out how to do this (this comm especially has been immensely helpful), and I've had reasonable success, but I've run into two issues that I can't seem to find answers for, and I was hoping that someone here could be of assistance.

1)  Is is possible to incorporate a custom mood theme into the s2 code?  I suspect the answer is no because LJ needs to handle it directly so that it can be accessed on the posting page (like userpics and tags), but I figured asking would be the best thing to do.

2)  I can't find code for the links list in the sidebar.  I'm pretty certain that can be incorporated into the s2 code, since header links can be changed that way, but I can't find the code for it, nor can I figure out where in my custom layer I should put it.  (This one I feel rather silly asking about.)

I'm currently not using the custom layer/style, so, thankfully, these issues aren't making my journal wonky.  In case it's useful, the layer I'm working on is here.  It's based on this, which is code provided by grrliz for using Mixit/Expresseive layouts on Dreamwidth.  With my personalizations (which aren't yet finished), the code probably looks a bit like Frankenstein's monster, but so far it seems to work fine on LJ.

3)  Lastly, while I'm here, I was wondering if you knew of any resources that would be useful as a kind of s2 dictionary so that reading the code would be easier.  Something similar to what you did for CSS, maybe, but with just the descriptions, no pictures?


( 3 comments — Leave a comment )
Aug. 20th, 2009 01:01 pm (UTC)
1) I'm pretty sure the answer to this is no, because the mood icons aren't part of the journal theme, they're "user-level" settings. The same goes for the links list.

2) The code that prints the links list in Expressive is the print_module_links() function. The actual links are accessed through $p.linklist, which is an array of UserLink objects that are stored in database somewhere. It's certainly possible to hack up this function to print more links or other HTML, but you can't edit the $p.linklist object (it's read-only).

3) There's always the S2 Manual, which is a little sparse and which I like to describe as "by programmers, for programmers". It reads like a man page, only less interesting. You also can look at the docstrings in the core1 layer, which may provide a little more insight.
Aug. 20th, 2009 04:15 pm (UTC)
Thanks so much for your help. I'm trying to understand as much about this stuff as I can on my own, but it's really nice to have a place to ask questions. And I'll definitely give those S2 guides a close look.
Oct. 16th, 2009 08:56 pm (UTC)
I'm sure this is far more basic than your question (I'm new to both S2 and CSS), but is it possible to change the "Links" title of the links list to something else? (I only have a plus account.)

( 3 comments — Leave a comment )

Latest Month

March 2016

S2 Help Communities


Powered by LiveJournal.com
Designed by chasethestars