You're reading the category archive for Code

Print-Friendly Movable Type Templates, Part 2: Dynamic Publishing

Last time, we learned how to create great looking print versions of our posts in Movable Type. This time, we take that same look and move it from static to dynamic publishing.

Creating a Print-Friendly Template in Movable Type

Taking inspiration from a WordPress plugin, we show you how to create a truly print-friendly post template for your Movable Type blog.

Fun with WordPress 2.7: Adding Asides without Hacking the Loop

Let’s play some more with WordPress 2.7 and the new post class options it offers. This time, let’s create an asides functionality without the need of either a plugin nor any changes to the loop.

Getting Ready for WordPress 2.7: Really Simple Category Styling

There’s a new way to spit out the class="post" in WordPress 2.7, and it’s really great for those of us who like to style our posts. Here’s how you use it.

How to Make a Magazine-Style Homepage with Drupal, Pt 3

Have you read part 1 and part 2 in the How to Make a Magazine-Style Homepage with Drupal series? If not, do so first, and then move on to this one, which is part 3.

Getting Ready for WordPress 2.7: Sticky Post Styling

WordPress 2.7 is due in November, and actually out in Beta 1 already. One of the new features it brings is the ability to pin posts at the top. So let’s get our themes ready and style those sticky posts, shall we?

How to Make a Magazine-Style Homepage with Drupal, Pt 2

In the second part in the How to Make a Magazine-Style Homepage with Drupal series, Dustin digs into CCK and Views. You should read part one first, if you haven’t already.

Handling Headers: Where to Use h1 and h2

Should your logo be in a h1 code block, or should you use it for post titles, on your blog? What’s the correct way to use all those headers anyway. Let’s try and find out!

XML Data Driven CSS Charts

Learn how to create data driven charts the smart way, using XML and CSS.

Basic PHP Hacks and How to Secure your App

Lately, I have been working on a project with a group of developers that I found. In this modern day, security is a must. Several years ago security wasn’t a big deal, but now is a desperate time, and desperate times call for desperate measures. So let’s secure our apps!