Skip to Content
Personal website of Steven Peck. Focusing on Microsoft technologies (most notably PowerShell), and other random bits I think to write.

oops, now I'm doing a presentation

Now it seems I'll be doing a presentation on Drupal in February. Now I have to figure out what to write....

I have been busy the last few years and when my son was born I scaled back on some of my hobbies to spend more time at home. One hobby was meetings at a nearby LUG, LUGOD. (I got to see a presentation by Rasmus Lerdof there once).

I am still on their announce email list, so when they mentioned an irc channel on freenode, I stopped by and chatted with Bill Kendrick for a bit and thanked him for Tux Paint (A great program, my 2-1/2 year old son loves it). He mentioned a recent update (really cool too) and asked what I had been doing so I mentioned Drupal. Oops.

it's late, I'm tired, I should be asleep....

so what am I doing up? Well, I thought one last quick hit on the forums and came across this little question

I have no idea why people are so enamored of Wordpress blog theme's but Ocadia looks to be a nice one so what the heck, 10 minutes.

I started with the first one I figured out and started editing.

  • Create a directory in themes called Ocadia.
  • Download the Ocadia theme and copy the style.css and images directory into it
  • create a page.tpl.php file and copy and paste the below code into it
  • try it out

It's ugly. :) Not bad for ten minutes though, lots still to be done, clean up the sidebar/blocks, create a nodes.tpl.php so that the css names match more. If you do this, then you should be able to use more Wordpress theme's with minimal or less modification.

no impact test bed -this is neat

Now this is cool. The Uniform Server is a nice self contained WAMP environment that runs from a local drive. It contains an Apache server, MySQL phpMyAdmin perl and php5.

It appears that it will work from a USB drive as the post I found the link from mentions. Perfect for playing with things at home or when you go visiting friends and family for the holiday.

I haven't played with it much yet beyond downloading it to my local system and seeing that it works but this looks like a lot of fun. For instance, demo's at places where you have no Interet access because of company policies or it's a small place still constrained to dial-up. No special configuration on your laptop, just bring your USB drive and fire it up.

images in newsfeeds

A friend of mine who uses Drupal asked why images didn't display inline in Drupal 4.6 news feeds. They were on Drupal.org and he'd seen them on some other sites. He did some searches as did I and we found mention of a patch for 4.5 that never made it in. This gave us the clue we needed. Aggregator uses a hard coded list of filtered html. The specific lines is in the aggregator module lie 486

The continueing saga of a base template going mad....

It hasn't helped that I've been busy.

For those few following my learning process, I thought I'd post an update. Some things I've discovered, three column css layouts are hard. How to have the DIV tags such that it follows header, content, then left and right sidebars. Yet still has flexible center content for when one of the bars is not used.

So thing's I've changed, added the code from the handbook on how to strip out drupal.css so all css is the theme's responsibility. Added a layout.css to handle the layout seperate from the color and font stuff.

If the theme is going to be responsible for all css, then I added an admin.css file. I am going to figure out an admin.tpl.php file that will hopefully provide a css seperation of the admin section like the layout will for the overall site.

Left to do, find time to actually get the layout css done so I can hit the colors and such.

My Drupal start

I was chatting with Amazon on #drupal-support the other night and he asked if I planned to blog about Drupal.org support. I thought, sure so let's start at my beginning. I currently do this as a hobby. A serious hobby, but hobby none the less.

Drupal 4.3 was released in November of 2003 and I was marginally familier with static HTML sites and could sort of use Dream Weaver. At this time, I was looking for a solution to avoid paying for a Dream Weaver upgrade. I also wanted my wife to be able to post pictures to our website without having to hard code it myself.

Syndicate content