You are hereBlogs / Dark Siren Sally's blog / FINALLY, finished the upgrade more or less. -_-

FINALLY, finished the upgrade more or less. -_-


By Dark Siren Sally - Posted on 30 January 2007 in Programming, Website

The upgrade took a lot more time than I would have liked it to -- not because Drupal 5.0 was a pain to install (it actually went quite painlessly) but because I had to retheme the whole site. And I HATE theming. Maybe it wouldn't have been as bad if I didn't get stuck trying to tweak this one tiny little nitpicky style error for hours.

The short of it is, I couldn't get the comments links (e.g. delete, edit, reply) to format correctly, because for some reason the code wasn't spitting out the right CSS class for it. I finally squashed the sucker by making a theme local copy of the theme_links function in theme.inc. All I really needed was to add the 'inline' class so I passed it in manually. Probably not the cleanest way to do it, but at least I kept it local so it won't get overwritten by upgrades.

Anyway, the theme is based on amadou, a funky three column theme I got from drupal.org. It was the closest I could find that I could alter to look like my former interlaced theme. I could have moved the columns around too, so it'd look more like the last layout, but I decided I'd leave it as is. Maybe people will complain or think it looks silly, but eh... I wanted it to look at least a little but different, even if I did end up using the same colors. (Mostly out of laziness.)

I also learned something from the amadou layout, a trick with margins to put this 3-column layout together (well, at least I never thought of using negative margins before!) I like that it keeps all the navigation and blocks in one spot, so once you get accustomed to reading on the left side, you don't have to all search around everywhere for what to click. I also moved the login form to the top so people wouldn't have to scroll down to login. I might actually be sticking a pseudo-chatterblock thinger below the tagcloud though, once I get back to figuring out how to make that work.

Gah... having trouble keeping focused on this entry... I already went and rewrote it multiple times, adding bits here and there, trying to get across what I WANT to say but feeling like it's all jumbled. o.O I do want to remind myself that I still have to figure out how I can make the menu headers on the side columns into links, 'cause I need links for the announcement and tag cloud pages at least. But I can do that later, I guess. I at least got through the annoyance of rewriting the code to seperate taxonomy terms into tags and categories. There's gotta be a better way to do it but I'm too freaking lazy to code it.

At least now that I've gotten this done I can try working on my PSU page. It will be easier to do now that I've gotten my hands wet with Drupal 5. Also it's a new installation, and I could really care less if it uses a premade theme, at least for now. Though maybe I will still decide to use a wiki instead. or mess with joomla! or xoops, I dunno. I probably should at least give it a shot, since I consider it part of my sim-chan work to test out CMSs and see which one might work best for all the modding I'll have to do. (And there's a thought... I should think on how I will keep it modular so my mods will still keep up with CMS/forum upgrades.)

But now I need to NOT think of code or web design or anything because I feel like I'm sitting here writing with a cloud of fuzz in my head. Jon made some foods too... so I'll probably eat and nap... damn my weird sleeping hours lately. *sigh*

P.S. to self -- remember what you did to order tags alphabetically in Drupal 4.7. x.x



Announcements

Current Status

Feeling: Starting to unwind... slowly.
Playing: Etrian Odyssey 2, mostly.
Roleplaying: RPoL! Hopefully Wardragon soon.
Working: Tower RP forum, maybe new Drupal theme.

Recent comments