Newsroom / Blog

Ben Thomas's blog

BThomas's picture

Understanding Drupal 6: Part 1 - Content Types

Aug29th

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.

BThomas's picture

Drupal 6 - Inserting & Updating Nodes Programmatically

Jul16th

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.

BThomas's picture

Programmatically Output a Views Block in Drupal 6

Apr29th

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.

BThomas's picture

How Can Drupal Help My Small Business Get Online?

Mar5th

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.

BThomas's picture

Retrieve E-Mails With The PHP IMAP Class

Feb7th

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.

SocialTwist Tell-a-Friend

Tags: E-Mail, PHP, Tutorial

BThomas's picture

Easy PHP String to Time Conversion Calculator

Jan20th

PHP String to Time Converter

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.

SocialTwist Tell-a-Friend

Tags: PHP, Projects

BThomas's picture

jQuery / Javascript Easy Edit In Place - Input Boxes and Select Boxes

Jan13th

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.

BThomas's picture

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

Dec18th

Update Multiple Timestamps With Triggers - Useful MySQL Tricks Series

BThomas's picture

PHP Thumbnail Creation Tutorial

Dec8th

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:

  1. Shrink an image to a defined size
  2. Keep the new image proportional to the old image
  3. Create the new image in the same directory as the old image with a defined prefix (i.e. 'tn_')

And here we go!