Categories
Work

Dipping my toes back into the Drupal

Apparently we’ll be using more Drupal soon at work, so today I installed Drupal 7 onto my office machine.

Holy crap, that was easy!

I’m sorry, but I remember the very first time I installed Drupal on my home machine, and it took SIX HOURS of troubleshooting the MySql and the PHP, and then yes, the Drupal. It was a dreadful experience, and to be honest, it was a sign of my trials with Drupal start to finish. I’ve hated Drupal for a long time now.

Hopefully this new easy installation is also a sign, and Drupal 7 will be a kinder and gentler CMS than Drupal 6 was. Many, many fingers are crossed!

Categories
Programming

Using CCK field variables

For future reference, this is where I found the answer:

http://drupal.org/node/93622#comment-806753

(<* php print $node->field_section[0][‘value’] *>)

Categories
Programming

Fixing the comment widths in drupal 6

So I finally fixed the comment widths, using the following in the style.css:

#edit-comment{
 width: 430px;
}
#comments {
 width: 430px;
}
#comment-form {
 width: 430px;
}

It’s the only thing I’ve been able to fix today. I still can’t make the fckeditor stop centering while also showing the custom styles. It’s very insane making.

Categories
Knitting and Crochet Programming

Of Scarves and Drupal Devilry

So I’m knitting again. Woot! I finished a (unfortunately heavy) orange and tag-yarn scarf last week, and now I’m working on two scarves/shawls (stockinette to the end, then drop every third stitch). One is sparkly red yarn (Karabella Stardust) and will be this year’s holiday scarf, and the other is a tweedy Plymouth Encore that I’m going to have to frog and restart, ’cause it’s too wide for only two balls of yarn.

I started up again because work, both my day job and my freelance projects, have been stressing me out, and after several near-meltdowns, I had a “D’oh!” moment and realized that I’d given up more than just something to do with my hands when I stopped knitting–I’d given up an important stress-reliever. I can’t believe I ever forgot how relaxing it is work with my hands and let my mind fly loose. Stupid.

Anyway, in other news, Drupal continues to kick my ass. I spent four hours yesterday trying–and failing–to beat the forums into submission. I still can’t figure out why setting a block exception for “forum” only works for the forum posts and not the other forum pages, and google was no help this time. I picked up another Drupal development book at B&N today, one more advanced and with far more customization examples than my other two books, so hopefully that’ll help, but for today I’m leaving the forums alone and working on some of the other things for the site that I might actually be able to fix. I need to get a few more successes under my belt before I tackle the evil forums again, and not just because my ego needs reinflating. I also need to have something closer to complete by Monday for the client. Yay?

And finally, because posts without pictures are just plain boring, here is a gratuitous photo relating to nothing else in this post. It’s from earlier this week at work, when the sun was setting and the fog was rolling in from two different directions. It was so damned beautiful that night I took about 40 pictures, but IMO this is one of the better ones.

Fog over Brentwood

Categories
Programming

Yay FireBug!

I found it! The problem that’s been making me crazy for three weeks has finally been solved, thanks to FireBug! Woot!

Note for the future: When there’s a mysterious horizontal line appearing at the top of a table, in Drupal, in Firefox, go to modules/system/system.css and change the damned tbody border that’s hiding in there.

Woot! No more horizontal line!