Articles

03/09/2014 - 15:24

Recently members.iampeth.com went live. I've been working on this site since November - creating custom modules to handle memberships and the convention registration.

One problem we ran into was the password reset page with the addressfield module. The addressfield module has an ajax country selection, which changes the address fields if necessary. But this refreshes the data for the form, which stopped users from being able to change their password and fill in their address at the same time. To fix this, I used a little trick:

10/22/2013 - 14:59

Another update to the Webmin NginX module. It now supports CentOS, FreeBSD, and Solaris. Get more information here: http://www.justindhoffman.com/project/nginx-webmin-module

07/26/2013 - 07:20

This update makes the module start/stop/restart NginX properly again. No other updates yet. But I am working on links to the other configuration files for NginX and more UI-friendly handling of the virtual servers. Download the update here.

The module is now also listed on the webmin third-party modules page. http://www.webmin.com/cgi-bin/search_third.cgi?search=nginx

10/13/2012 - 05:58

Do you need a fast easy way to add default text in your form input text fields? Here's a quick solution with jQuery. First make a text field.

<form id="form">
	<input type="text" id="textfield" />
</form>

Then add the javascript after the jQuery file.

08/18/2012 - 07:43

Drupal Views now comes with a contextual filter that filters content by the first letter, which is a great feature. But it's a contextual filter, not a regular filter. If you start experimenting with the glossary view, which using this feature, you'll notice it places the letter in the url and changes pages. You can't use it for ajax filtering and you can't use it easily with other filters, or as an exposed filter. That's exactly what I needed, an exposed filter, so I built a module to handle this problem.

06/17/2012 - 17:22

Using ideas from other standing desks on IKEA Hackers, I came up with my own version. I call it the VIKA standing desk, since it uses mostly VIKA system products. The entire project cost about $260 (without taxes).

06/03/2012 - 14:36

For about a year I've been in development with Baseball United, a website that intends to be the social network for baseball. The site has been built on the Drupal 7 platform. Several custom modules and hundreds of programming hours later, the site is live and active with baseball teams and stats.

Thanks to the new Drupal Commerce module there is a store full of baseball-related products, thus far featuring Akadema. This could not have been done with Ubercart, the old dog of Drupal 6 commerce sites.

05/12/2012 - 07:08

For this project, I needed to create a way for admins to recommend items to other users. In other words, bookmark a page for someone else.

Drupal 7 already has a great module for bookmarking, called Flag. It allows users to 'flag' content to say they like it (similar to Facebook) or to bookmark it for future reference. But it does not come out for the box with links to flag for other users.

04/29/2012 - 17:04

BooDroo is a site built using Drupal 7. Some of the modules being used are: Commerce, Date, Organic groups, Mobile codes, Rules, and Views. I also created custom modules to communicate with Twilio (a service converting online information into a SMS sent to mobile phones) and to process Commerce carts through Google Checkout. SMS are also saved as content so that users can view messages online, as well as via text messaging.

02/04/2012 - 15:02

The following are the steps I take update Debian by making a fresh install on a clean drive.

Create a drive. There's plenty around to explain this step if you're not sure.

Format and mount the drive.

mkfs.ext4 /dev/sdb1 #enter your drive here
mount /dev/sdb1 /mnt

Install deboostrap and bootstrap the system using your arch and preferred distrobution. Mount proc and dev.

Pages