seperis: (frog love)
seperis ([personal profile] seperis) wrote2009-05-02 10:58 am
Entry tags:

dreamwidth and customization - crazy fun! emphasis on crazy

Multiple Reading

Okay, this could be because I just like complex things, but I kind of like having two flists to read. I mean--okay, you have to understand. At my highest Ritalin dose, I don't have what anyone sane would call a great attention span, and I miss things like whoa. At least one person on my flist has given birth and I didn't know she was pregnant! That was very lowering.

When people crosspost, I miss a lot less! Part of this is because yes, I'm coding my style live and so hit refresh a lot, but also, because I'm less cluttered in my reading. It's almost like creative filtering, except I was never really good at filtering.

I don't know. It's nice. It's more reading!

Housekeeping

If you're on my flist on LJ, I am adding you here. I could say I haven't had time, but that's a total lie. Every time I come over here to do something like, say, add people, I end up in advanced customization trying to create new and exciting if statements.

Adventures in Bad Customization

If anyone wants it, by the way, I did figure out, sort of, how to put the username below the icon if you want your name/usericon to the right in entries and on the Reading Page, but it's makeshift until I can go over the entire css and functions by hand and remove the older code.

You'll have to do this in Advanced Customization from Your Layers. I think it could be done thematically, but off the top of my head, I'm not sure how.

Add that to your CSS.

.eidentity {
float:right;
text-align:right;
width: 150px;
}

In the Page::print_entry() section in advanced customization, do this:


"""div class="eidentity"""";
$e->print_userpic();
$e->print_poster();
"""/div""";

(add the > and < back in when using. I cannot figure out how to keep the code untouched, and raw doesn't work, darn it.)

Basically, you create a div class to put it in, limit the size, and it forces the name below the userpic. And they really try to sit by each other. I mean, I gave up doing this in comments, because it was just breaking the comment box unless I px'ed everything to an exact size and no one wants that.

Drawbacks: Names below six characters still float up beside it on the left. Lowering the width, however, make long names or long feeds vanish or hide. So I compromise because my Reading Page was driving me nuts.

You may have to play with this to make it work; I did about a dozen tries that all *should* have worked and didn't until this one did. I was trying display:block and some seriously unholy looking CSS at W3 before this one suddenly worked. The only other option I found so far--again, I'm making this needlessly complex, so keep in mind I start complex and messy and then streamline it once it looks like I want it to--is to do a lot of div classing and width percentaging, then use margins to stack the divs like sad little blocks. It was kind of horrifying. It was also funny. And three hours after I finished, I could not for the life of me work out how I did it even with my own documentation, it was that complicated and weird. And I'm fairly sure it would break probably half the browsers that tried to view it. I'm actually not sure this doesn't break for other people, come to think, but you can check my Reading Page and see if it lines up. Except for those short-named people, who just need to get longer names.

I think this is visible: you can find the entire current working code here. It's based off of Negative by Phoenix Dreaming, but still has tons of code I'm removing and changing as I figure out what everything does and discover strange things like removing entry-title suddenly kills my layout despite the fact I never use that class. Always an adventure. And let me tell you one day of the Great Hunt for how the hell to add a | between reply and comments, because the way I am doing it I hate, but tracing functions backward to their root is a new and exciting way to wonder about your own sanity! I'm beginning to put together a chart to trace what functions inherit from what properties, but I have a feeling that I'm getting it dramatically wrong.

If anyone found a better way to do the icon/name thing, please, please drop a line here. Otherwise, I will be haunted by finding a more efficient way. I'm just using too many divs.
casspeach: (Default)

[personal profile] casspeach 2009-05-02 04:37 pm (UTC)(link)
Just in case this: At least one person on my flist has given birth and I didn't know she was pregnant! was me, please don't worry about it. I didn't tell anyone I was, just kind of disappeared into 9 months of total exhaustion and did nothing but eat work and sleep.

But Merlin has made me come back to the intarwebs...he really is magic!
ratcreature: RatCreature is thinking: hmm...? (hmm...?)

[personal profile] ratcreature 2009-05-02 05:42 pm (UTC)(link)
Have you looked how existing styles that do this, like say Mixit, handle the formatting in their layers? Couldn't you just copy that? *is fairly clueless about the style system*
lilithilien: (merlin-merlinxarthur)

[personal profile] lilithilien 2009-05-02 05:57 pm (UTC)(link)
Wow! Thanks so much for this -- I'm bookmarking it to play with later this weekend.

Also wanted to drop a note to say that I've subscribed to you and to say "hi!" I'd friended you on LJ after reading your ZOMG AMAZING Merlin stories, but then just lurked on your journal. I thought I should at least pop in and say hi. So, hi!
treewishes: All season tree (Default)

[personal profile] treewishes 2009-05-02 06:09 pm (UTC)(link)
Sadly, even though I love your layout, I'm going to wait until there's a ticky box somewhere and I can pick it off a list :)
forestgreen: charchoil picture: Iason embracing Riki possessively and Riki reluctantly surrendering. Charecters from Ai No Kusabi (Default)

[personal profile] forestgreen 2009-05-02 06:15 pm (UTC)(link)
That looks impressive, *bookmarks for later*. I'm going to start playing with one thing at a time and see what happens.
snakeling: (tech: Tux)

[personal profile] snakeling 2009-05-02 06:27 pm (UTC)(link)
I consider myself fairly knowledgeable about CSS, and as far as I know there's no way to do it without modifying Page::print_entry() as you did.

< = &lt;
> = &gt;

I'd also advise you to wrap your code in pre and code tags. And if you're feeling lazy, the HTML-for-LiveJournal Modification Tool will do it for you ;)
ringspells: (Default)

[personal profile] ringspells 2009-05-02 07:35 pm (UTC)(link)
I am somewhat css challenged; I can do some things, but for others I need to find help. So I don't know if this would work for you. I used a mixit style made for LJ, so I used Core1, and followed the instructions here to make the names show. (If, however, what you're trying to solve is the fact that in Core2, usernames show up far away from the userpic, then I'm pretty sure I was no help at all, sorry.)
lunasky: (Default)

[personal profile] lunasky 2009-05-02 07:44 pm (UTC)(link)
OMG. Thank you for the icon/username thing. It's driving me batty. I mean, I recognize a lot of icons that my friends have, but not all of them. Is it because I'm using a Mixit style? I'll have to put some time into it tonight,
mrshamill: (Default)

[personal profile] mrshamill 2009-05-02 08:06 pm (UTC)(link)
I wish (I wish I wishIwish) I understood that, because dammit Jim, I'm a hardware geek not a software hack and I just don't get it. I want to customize my journal here and I really don't get it, and my husband (who freaking teaches HTML at the local CC) is no help at all, he just tells me I should be able to figure it out by now. Bastard.

sigh
hermitsoul: online computer icon (* Online: unexpectedbox)

[personal profile] hermitsoul 2009-05-02 10:22 pm (UTC)(link)
Thank you - this fixed my problem!
ringspells: (Default)

[personal profile] ringspells 2009-05-02 11:03 pm (UTC)(link)
Glad I could help!
sami: (Default)

[personal profile] sami 2009-05-02 11:36 pm (UTC)(link)
n-now I feel like a SHORT-USERNAMED FREAK :O
scrollgirl: canadian dreamsheep (misc dreamwidth)

[personal profile] scrollgirl 2009-05-03 12:47 am (UTC)(link)
What you said about Multiple Reading! I get why people want to take me off their LJs now that I've subbed them on DW, but for me? Two reading lists are better than one! Crossposting is good and I don't mind the overlaps, especially as most of us aren't stopping comments on LJ and I like seeing the different discussions.

I should make a Dreamwidth-slash-LiveJournal icon :D
anatsuno: a women reads, skeptically (drawing by Kate Beaton) (Default)

[personal profile] anatsuno 2009-05-03 12:58 am (UTC)(link)
Found in the FAQ:

"If you want to temporarily disable auto-formatting for part of an entry you can use < raw-code > instead of < lj-raw >."

I have a feeling that it will work as well as the PRE or CODE tags, if not better.
anatsuno: a women reads, skeptically (drawing by Kate Beaton) (Default)

[personal profile] anatsuno 2009-05-03 12:59 am (UTC)(link)
oh, sorry, I might have misread! If that's what you tried that did not work for the code display you wanted, sorry for butting in stupidly!
lunasky: (Merlin - Arthur with colour)

[personal profile] lunasky 2009-05-03 01:35 am (UTC)(link)
oh yay! I just tried the link given below and it totally fixed it right up. I'm off to go lavish some serious love. And much love to you too of course, cause otherwise, I'd have never found the solution!!!
lunasky: (Dr Who - The Master)

[personal profile] lunasky 2009-05-03 01:37 am (UTC)(link)
Thank you, thank you, thank you!!! Once I stopped being stupid and actually recompiled my layer, it worked like a charm. Thanks for the link!!
lunasky: (Other - Spring)

[personal profile] lunasky 2009-05-03 01:45 am (UTC)(link)
If it's any help, I found this guide really excellent (http://community.livejournal.com/thefulcrum/27856.html), and grrliz has lots of nifty mixit layouts to pick from. The only problem I've found is that the the usernames do disappear as well, but the fix is very simple and can be found here (http://dw-styles.dreamwidth.org/5062.html)

Sorry for the ugly links. I suck at html tonight.
snakeling: Statue of the Minoan Snake Goddess (Default)

[personal profile] snakeling 2009-05-03 01:48 am (UTC)(link)
The problem is that to send it to the right, you need to float it, which removes it from the normal flow. And you have to float the userpic and the username separately, since they aren't in the same div. So to float them together, you need to put them in the same element by hacking the actual S2 function.
snakeling: Statue of the Minoan Snake Goddess (Default)

[personal profile] snakeling 2009-05-03 02:18 am (UTC)(link)
Aha! That one I can answer, because I worked it out :)

Here's the code (well, it's for the tags, but you can extrapolate):
.tag ul li {
	display: inline;
}


.tag ul li:before {
	content: ", ";
}

.tag ul li:first-child:before {
	content: "";
}
The only problem, but it's huge, is that the CSS cleaner will throw a fit if you use unicode characters such as "\00b7", which is the middle dot and which I wanted for the entry function links. I've settled on ~ for now, but I'm not really satisfied by it.
cali: (Default)

[personal profile] cali 2009-05-03 10:22 pm (UTC)(link)
Oh man that username thing was bugging the crap out of me. Thank you!
everysecondtuesday: glasses and milk tea in the morning (Default)

[personal profile] everysecondtuesday 2009-05-04 04:15 am (UTC)(link)
I am pretty much reading about everyone else customizing and letting my journal stay as it is (it changed styles all on its own at one point! To one I liked much better!) until I feel like I've absorbed enough to not utterly break it when I go blundering through the styles customization.
christycorr: Merlin (Merlin) (*beams*)

[personal profile] christycorr 2009-05-04 07:13 am (UTC)(link)
I know, right? All the crossposting is making my life much easier.

Anyway, hi! I've lurked around your LJ for Merlin-fic-reading purposes, but I figured I should be nice and add you properly on DW :)
scrollgirl: dw/lj; text: make love not war (misc dreamwidth/livejournal)

[personal profile] scrollgirl 2009-05-04 10:11 pm (UTC)(link)


I've been asked to make an alternate version with more innuendo. To wit: "switch the two logos so that the rigid LiveJournal stylus is poised to penetrate the center of the convoluted flowery Dreamwidth icon."