according to my ashtray, i’ve smoked ~10 cigarettes, including 2 or 3 from last night.
on the redesign: successfully converted the style switcher from the jumpbox variety to icons. now it actually refers you back to the page you were on when you switched, no matter what your user agent’s HTTP_REFERER string says (or doesn’t say). and as long as i make the icons, and put them into their respective folders, it will STILL automatically detect and insert them, so i don’t have to code anything in every time i make a new style.
bonus.
the content injector thing: how it works
the content files look like this:
<?
$links = array(
'<a href="?page=home">home</a>',
'<a href="?page=two">page two</a>',
'<a href="#">link 1</a>',
'<a href="#">link 2</a>',
'<a href="#">link three</a>'
);
$info = "this is where extra information goes. this is test one.";
?>
…which then gets separated into the main content box, the "related links" sidebox, and the "more info" box, via the insertion of variables $links and $info. it’s that simple.
due to the power outage, i didn’t have enough time to work on stuff, so i still can’t really show anything off just yet. not quite ready. i still need to do a couple other things first.
i hope two of my LJ friends can work things out.
come to think of it, i hope all of you can work things out. and everybody else, too.
i’m working things out.
