matgb: (Webstuff)
[personal profile] matgb
The joys of blogging using a completely new platform with a development team that really want to make it work, instead of just make it sellable is palpable.

Dreamwidth is, still, not a finished, ready-for-general-release product. That's fine, it's getting there. What's really good though, is that the team behind it are really keen on getting the documentation up to speed, and are generally pleased when you go point out something that isn't working right.

After a lot of headscratching, and a bit of trial and error, I've finally got the sidebars to my main layout almost looking right (at least on this browser, on this laptop, with my preferred default settings). Setting the margin for some of the lists to -12px was a daft solution, but until I can figure it out better, it's a working solution.

No point writing something if people can't find it

More importantly, I've developed stuff. Anyone that's read my ramblings online for awhile knows that I take usability and search presence fairly seriously. There's no point in writing something for a general audience if people that are interested can't find what you've written. Dreamwidth's default settings for page TITLE tags were, well, a bit weird, and broke basic usability and SEO rules. So I've been hacking. My early attempts simply didn't work, but a few days ago I simply swapped two lines of code, and now it almost works completely properly (see above bug link though).

So, if you're comfortable with adding stuff to DW layers (probably not going to work on LJ), then this will almost certainly be useful for you. Instead of putting the page title tags out as Username | PageTitle, I've changed it so that on the main recent entries journal page, it displays JournalTitle | Subtitle (ie, for me, Mat Bowles | Whatever I've Picked This Week), but on other pages it displays PageTitle | JournalTitle. When we've figured out what's wrong with the above bug, I'll update it to do even cooler stuff on the Reading page, but...

against a dark background

Now, of more general use, I know a lot of people don't like reading entries against a dark background with light text. I'm the complete opposite for this; if I spend too much time looking at pale background sites, I start to get a headache, hence my preferred layout. So, for you weirdoeslucky lucky people, I am going to build a pale background layout as well. This will deliberately not define fonts, background colours, etc, so it will only display your browser defaults (you can change them on any decent browser).

Best bit? I've got this into the base layout code (for my main layout) as a link. At the bottom of this entry on DW, you'll see some extra links, Dark, Pale and Print. Dark gets you back here, Pale takes you to the new layout, and Print takes you to a completely unformatted page. Theoretically, all internal links on the Pale layout will maintain those settings, including if you comment. This is useful.

Lastly, they've added a new feature in, when I post an entry here, the LJ copy will link here, and show hoe many comments are here. But these days I allow comments on the LJ backup, but there's no way of getting from here directly there. Until now. But, the display was, well, FUGLY. Fixed that too, custom CSS box, copy/paste, change the colours to suit.
It's all, naturally, still being tested, but I thought I'd post and let people know that a) I'm still alive and b) I'm trying to be useful.

This layout is, officially, 1337

But more importantly, hover over that 'Dark' link. Look at the S2 ID number. Everytime someone creates a new layout on DW, it gets assigned a new, sequential, number. There are loads and loads and loads of them. But those of us who signed up to the site really early, well we've got styles with low numbers. Mine isn't that low. But it is pretty cool. S2 layout #1337. This layout is, officially, 1337.

I just felt like sharing that.

(feedback on the code, suggested improvements, bug reports, etc very very welcome. Pointing out that the pale layout is barely personalised and needs a lot of work will be a statement of the already known, I'm looking for unknown unknowns out of preference...)
Depth: 1

Date: 2010-Jun-14, Monday 06:47 (UTC)
freddiefraggles: (ncis - abby two thumbs)
From: [personal profile] freddiefraggles
The "page generated" and "powered by" boxes at the bottom, also titles in other boxes but not so much as the first two, are too close to the edge of the box. Trying to get out the box, even.

The black box under your user icon for the post, which contains your username, does not line up with the user icon, think it's about 2 or 3 pixels out, which is enough to be noticable!

Dark / pale / print options: not at the bottom of the page for everyone. It shows in the toolbar at the top if you have that enabled, I can choose to show your version or light or in my layout style.

The crossposts thing is nice and all right-aligned, but the tags line under it is broken, the word tags appears to be left-aligned while the tags themselves right-aligned.

I'm using FF 3.6.3, widescreen.
Depth: 1

Date: 2010-Jun-14, Monday 08:51 (UTC)
cesy: "Cesy" - An old-fashioned quill and ink (Default)
From: [personal profile] cesy
Very 1337 :)
Depth: 1

Date: 2010-Jul-04, Sunday 10:51 (UTC)
kake: The word "kake" written in white fixed-font on a black background. (Default)
From: [personal profile] kake
Thank you for the title stuff! I've added it to my style — great improvement.

I don't suppose you happen to know if it's possible to change the head_title and page_title depending on whether the person is viewing a particular tag? Specifically, I'd like this page to have "Reading Chinese Menus" in both the <title> and the main page heading (but for http://kake.dreamwidth.org/ and other tag views to stay as they are).
Depth: 3

Date: 2010-Jul-04, Sunday 19:18 (UTC)
kake: The word "kake" written in white fixed-font on a black background. (Default)
From: [personal profile] kake
Neat — look forward to seeing what you come up with.
Depth: 3

Date: 2010-Aug-29, Sunday 16:05 (UTC)
kake: The word "kake" written in white fixed-font on a black background. (Default)
From: [personal profile] kake
I have a new question... do you know if there's a way to add a specific bit of HTML to the bottom of a post if and only if the post has a particular tag? I'd like to be able to define my Chinese Menus footer in one of my layers rather than copy-pasting it into every post.
Depth: 5

Date: 2010-Aug-30, Monday 21:10 (UTC)
kake: The word "kake" written in white fixed-font on a black background. (Default)
From: [personal profile] kake
Yes, good point, thanks — I'll get that sorted out. I've added the font colour to new posts for now.
Depth: 5

Date: 2010-Sep-05, Sunday 14:03 (UTC)
kake: The word "kake" written in white fixed-font on a black background. (Default)
From: [personal profile] kake
Mmm, slight snag with putting it all in the stylesheet — people viewing the page in their own style won't see that the footer paragraph is meant to be distinct from the rest of the post.
Edited (Somehow managed to type exactly the opposite of what I wanted to say) Date: 2010-Sep-05, Sunday 14:10 (UTC)
Depth: 7

Date: 2010-Sep-14, Tuesday 23:57 (UTC)
kake: The word "kake" written in white fixed-font on a black background. (Default)
From: [personal profile] kake
Whoops, my inbox got away from me and I managed to miss your reply, so belated thanks!

I don't really want to decide that someone's overriding of my style is their problem, since people may need to do this for accessibility reasons — not everyone finds dark text on a light background comfortable to read. I don't want to take away visual cues from someone who's already having to change things to make them more readable. So I've gone back to inline styling for now, though I might experiment at some point with having some of it in the stylesheet and some of it inline.

I would love to have a standard class for footers — also for related posts, which I'm currently hacking around by hijacking the tags div.
Depth: 1

Date: 2010-Oct-07, Thursday 02:33 (UTC)
marahmarie: (M In M Forever) (Default)
From: [personal profile] marahmarie
Thank you for the tab name hack. I never realized it printed out that way until Joseph came along to [community profile] getting_started to say so and got himself banned for being a little too nasty about it. So I added your code to my already-existing theme layer, and you know, gosh, it took me two seconds and all, but I had to put aside research and lose another nice day with the cooler weather approaching to pull it off, didn't I...was it worth it, or should I just use LJ, which supposedly does all their code in ten lines of HTML or less, and you know, HTML code does the same thing as the 3 pages of blasted CSS we use on each DW journal and does it so much better... *sigh*

(to fill in those who may have missed Joseph's posts, I lifted almost every word in my last paragraph from him just to highlight how ridiculous his arguments were)
Edited (more info) Date: 2010-Oct-07, Thursday 02:37 (UTC)
Depth: 3

Date: 2010-Oct-08, Friday 01:04 (UTC)
marahmarie: (M In M Forever) (Default)
From: [personal profile] marahmarie
If you use the Web Dev Tools included in IE8/IE9 and/or use the Web Dev add-on for Firefox, you can do live CSS edits without seeing the default CSS in LJ's or DW's Custom CSS box, which means you can also skip going into LJ's or DW's Advanced Customization pages to find it (which, I agree, might as well have a skull and crossbones posted on the intro page).

I'm so used to working that way, and I'm so used to putting the !important declaration after half the custom CSS I add, to override the default style sheet(s) on LJ or DW, that I almost wonder what it would be like to work any other way, *but*...but for someone who doesn't (or doesn't know how) to use browser-based live CSS editing tools, I can see how you might be pretty much up the creek without a paddle.

edit...Just for it's worth, did you know your implementation of the tab name/title bar is actually better than that of most websites? To remind myself how much more awesome yours is, I went to TechCrunch a few moments ago and clicked through to the top post, which was:

http://techcrunch.com/2010/10/07/calacanis-facebook/

When you visit it directly, all you see in the title bar is the post title and the browser name. Click through to any other post on that site, same thing.
Edited (more info) Date: 2010-Oct-08, Friday 01:15 (UTC)
Depth: 1

Date: 2012-Jan-15, Sunday 11:09 (UTC)
unicorn: a unicorn skull. (Default)
From: [personal profile] unicorn
For the record, after coming back to your comment in my suggestions post recently, I found this post and showed it to a more code-savvy friend of mine who was able to make the change you envisioned; it's implemented on two heavily commented-on communities she maintains and a related journal that I help to maintain now, and it's proved super useful. We had no idea something like that was possible with S2, so thanks!

Profile

matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)
Mat Bowles

September 2021

S M T W T F S
   1234
567 891011
12131415161718
19202122232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated 2026-Jan-04, Sunday 21:18
Powered by Dreamwidth Studios