
Recent Posts
Archive
- September 2010 (1)
- August 2010 (8)
- July 2010 (6)
- June 2010 (7)
- May 2010 (2)
- April 2010 (5)
- March 2010 (5)
- February 2010 (4)
- January 2010 (10)
- December 2009 (9)
- November 2009 (1)
Ben Thomas's blog

Understanding Drupal 6: Part 1 - Content Types
This is the first in a series of blog posts whose goal is to easily explain the important parts of building your own custom Drupal website. As the most important part of any website is displaying content to your viewers, we'll start by discussing what a content type is, how to create one, and how to display it to viewers of your website.

Drupal 6 - Inserting & Updating Nodes Programmatically
On a number of occasions in the last year, we've created new websites that required importing a great deal of content from an old website. Instead of going through the hassle (not to mention the sheer length of time) of entering each page via the node insert form, it's much easier to utilize the programmatic node insert feature of Drupal.

Programmatically Output a Views Block in Drupal 6
One of the best things about developing in Drupal 6 is the almost limitless ability to hook into core functions, contributed modules, and being able to tailor Drupal to meet your individual needs. For me, a lot of these awesome features involve the ability to programmatically utilize Drupal core modules, such as Views and CCK.

How Can Drupal Help My Small Business Get Online?
One of the must-haves of any small business, be it a start-up or a long-established entity, is an insightful website that allows people to find out more and inquire about your company. It gives your company credibility in an ever-increasing technology driven world. However, gaining that credibility through a website is much more than just putting up a couple pages and a form; the key is to get qualified visitors that want to learn more about your product or service.

Retrieve E-Mails With The PHP IMAP Class
Have you ever had the need to retrieve e-mail information and utilize the data for display on a website, GUI, or for some other web-based purpose? Recently, I was tasked with doing just that. The goal was to retrieve thousands of e-mail submissions from a contact form and parse out the information into readable CSV format.

Easy PHP String to Time Conversion Calculator
Earlier today, I was attempting to utilize the php strtotime function to manipulate dates in a number of different ways. After the 20th time of editing the code, saving it, and running the php script to get a result, I became a bit frustrated with the mundane editing and re-running of code, and decided to look for a better way to do my testing.

jQuery / Javascript Easy Edit In Place - Input Boxes and Select Boxes
One common theme in great user interfaces is the ability to edit content in place without page reload. If you are displaying any kind of editable content to a user, that user will almost expect the ability to manipulate their content without having to work through one or more page reloads. Javascript is the perfect candidate to utilize this type of functionality within your website. More specifically, the jQuery framework will simplify your task even more.

Update Multiple Timestamps With Triggers - Useful MySQL Tricks Series Part 1
Update Multiple Timestamps With Triggers - Useful MySQL Tricks Series

PHP Thumbnail Creation Tutorial
This tutorial will explain how to take any image and proportionally shrink it to any size you define.
The three main goals of this function are:
- Shrink an image to a defined size
- Keep the new image proportional to the old image
- Create the new image in the same directory as the old image with a defined prefix (i.e. 'tn_')
And here we go!
