Recent Favorites

Taking Drupal Mobile with Domain Module

I've been playing around with the idea of a mobile site for awhile now. This evening I've created the very basic beginning of JosiahRitchie.mobi. I used the Domain Access module for Drupal to create a second domain for JosiahRitchie.com that has the same content. Using the Domain Theme module that comes with Domain Access, I can then provide a handheld theme. My current one is pretty much the Zen STARTERKIT theme with a few things stripped out of the page.tpl.php. I'll look to improve it in the future.


Changing the Wording of "Submitted by" for Drupal Pages

I've found myself wanting to change the wording of "Submitted By" in a drupal blog and pages for a church site. When you only have one or two authors and the primary point of the site isn't blogging or writing, then "submitted" seems like a somewhat awkward term. Changing this is really quite simple. Here's a quick tutorial.

  1. The first thing you'll want to do is turn on the Theme Developer module. It is one of the ones in the Dev Module.
  2. Then click the little button in the lower-left to activate it.
  3. Select "Submitted by" and check out the dark grey box that appears. You'll notice that it identifies a function that is providing this. It also identifies a number of other function names it looks for to provide this.
  4. You should click on that to take you to a Drupal site that will show you the function.
  5. Copy this function into your own theme's template.php file. This is a hook so rename the first part of the function to the name of your theme. The function name will look something like themename_node_submitted(). It should be one of the candidates in the grey box you originally found the first function name in.
  6. Inside the code you pasted into template.php, you'll notice the words "Submitted by". Simply change that to your preferred wording. Mine was "Written by".
  7. Then you just need get drupal to recognize this new function by emptying your cache by going to the Admin-> Site Configuration -> Performance page.

A Church Drupal Installation Profile

I've been thinking an Installation Profile for churches would not only be helpful to me, but also many others so I spent some time yesterday playing around with the idea and made some progress. I haven't figured everything out, but I started with the phpedu_profile-6.x-1.1-beta1. (As you can see my efforts are directed at Drupal 6.) phpedu_profile was far more complicated than I expect to need so I cut out a lot, most of it even. Then I exported content types from a church site I've done and used their code to import. I also have views, but haven't yet figured out how to import them.


Going to DrupalCon 2008


Linux saves Mac and Windows from themselves

I had an interesting day yesterday. Circumstances led to a rush job at a clients house. I had to pull the backup data out of a Time Capsule from Time Machine backups without the Mac it backed up from and then restore these files to a Windows XP based machine.

In order to do the recovery I acquired another Mac to connect to the Time Capsule's Mac formatted partition and pulled the recovery out over the air. Due to the clutter on the disk, and not being able to use Time Machine, it took me awhile to find what I wanted. I pulled it down onto an external HD to transfer to the Windows machine. This HD turned out to be formatted for the Mac so windows couldn't read it.

No problem! I called my wife and asked her to drop off one of my Ubuntu Linux LiveCDs, booted into Linux, mounted the Mac partitioned External hard drive and the Windows NTFS partitioned internal hard drive and got busy moving things. I simply copied the files across. Linux became the glue and solved the problem quickly for my needs.

My wife reminded me of how frequently I need that Linux CD and encouraged me to keep one around. She knows right where I keep them because I ask for them somewhat regularly, so today I went out and purchased an 8Gb USB memory key to install this LiveCD on. It is a lot easier to carry around. I followed the directions provided by USB Pen Drive Linux called USB Ubuntu 8.04.1 Persistent install from Linux. They were very well written. I was so pleased with what they put out that I even spent some time checking out the websites for the ads on the site, hopefully giving something back to them.

I think my wife intends to see that a few of these disks end up in the glove compartment, just in case.


Mollom - The Bullet Proof Vest

I can remember the good old days when blog spammers were as bad or worse than email spammers. I've mananged to quelch the noise of my email spam through the Google's Email service. It's nice to hear myself think again when I open my inbox. Now I'm deluged mostly by stuff I ask for.

Protection from blog and web form spam has been another issue entirely. Things have come along, but they all have required my attention. I haven't been deleting thousands of comment spams a week on my blog for a long time, but the methods for protection were always a nasty necessity. I wanted my noble readers to be able to participate in the discussion immediately. Having to wait for me to wake up and realize that they have commented and then letting their comment through the net slowed thing downs in a fast world.


Churches and Drupal

Churches are increasingly turning to Drupal for their websites. Sometimes built by web guys who are related to the church, sometimes built by pastors who see the need and then sometimes built by people with experience dealing with Drupal. I'd be glad to share with you how Drupal can make your church website sing. A list of other churches and religious organizations using Drupal for their websites can be found here.

Since elementary school, I've had the opinion that you can tell a lot about a person by their shoes. I would watch shoes as I stood in the lunch line. Now I say you can tell a lot about a church by their website. I rejected this for awhile, but our latest church search simply confirmed it for me despite my desire not to believe it.

You may enjoy flipping through some and learning about the churches based on the information on the site, the quality of the writing, the quality of the design and the overall care taken in developing the site. Also, watch for who the audience of the website is. This will tell you a lot about who this church serves best. Some churches are better at discipleship and strengthening Christians. Others are stronger in evangelism and reaching outside their walls. Enjoy this casual study, should you choose to accept it!


Intro: Jason Stroup

I'm excited to announce a guest author at this blog. Jason Stroup, a friend and very smart guy, will be adding some of his thoughts about VMWare's virtualization technology and perhaps other things in the future.

Having worked with Jason for several years, I know he is always coming up with exciting ways to push the technology around him to achieve goals more effectively and efficiently. His thoughts are one of the driving forces that helped shape my own view of the need for simplicity in technology.

He has been playing with virtualization since VMWare started making waves. I think you'll enjoy his thoughts about changing the way IT infrastructure works as a result of the new found flexibility that this technology brings.

Some of the other fun projects he has experience in include:

  • Replacing Exchange with Google Apps
  • Building Cisco based wireless networks
  • Recovering Active Directory from a masted AD controller failure

I've been particularly interested in the recent opening ESXi provides. Having gone to a free model, good and proper virtualization within my budget has become a lot more doable and the trade-off of one cost for another may just be the ticket for greater stability without significant cost.

Stay tuned. :-)


Gmail Blackberry and the HTTPS only Setting

I've found a bug that others will probably want to know about. The Blackberry Gmail client does not support Gmail's new SSL encrypted email option. This feature was released about a week ago. As soon as I turned it on, I started getting errors. Turning it off makes them go away.

Rumors around the web say a new version exists, but when I fire up my Blackberry Google Mobile Updater, it claims I have the lastest version, but I can't find the setting to allow it. For now, we'll just all have to run a little less protected.


Drupal 6.4 Security Upgrade

Last night, the Drupal project released version 6.4 of their software in response to a security hole that had been found. I have upgraded all websites maintained by me.

In the process, I also upgraded a couple modules FileField and Token both are now running the latest versions.