DBUG meeting recap: What I wish I knew when becoming a Drupal freelancer

Friday Jan. 27, 2012 - 11:11 am

I was the "main" presenter at Tuesday night's Denver/Boulder Drupal User Group meetup, speaking on the things I wish I had known when starting work as a full-time Drupal freelancer.

Drupal cheat sheet: Load up .info files for modified features

Wednesday Jan. 11, 2012 - 5:05 pm

I often use drush fua to update existing site features on my development server. While it's a great shortcut to update the features' content, version numbers aren't automatically incremented. There's a ticket on Drupal.org proposing this feature, but as usual things got complicated.

For my benefit (and perhaps yours) here's my quick-and-dirty way of loading up the changed .info files into my favorite X editor, Komodo.

git status -s | grep .info | awk '{print $2}' | xargs komodo

Brad on 600 KCOL this Friday, all next week

Tuesday Nov. 29, 2011 - 8:08 am
{"action":"image",
"node":38,"border":0}

Tune in to 600 KCOL (Loveland/Greeley/Ft. Collins) this Friday and all next week as I fill in for morning show host Al Malmberg. The show runs 6-10 am and you can tune in over-the-air or online at 600kcol.com.

I'm always open to ideas for guests and topics, so shoot me an e-mail (contact tab - above) and help me fill in the schedule.

Hancock was right on 300, but still doesn't get it

Wednesday Nov. 2, 2011 - 9:09 am

Denver Mayor Michael Hancock was right to campaign against Initiative 300, the "sick time" mandate on private employers that was walloped last night by voters. But despite being right in his opposition, he's playing the go-along-get-along card with the initiative's kooky backers.

Case in point, from today's Denver Post:

Denver Mayor Michael Hancock said: "I hope they give consideration to looking at this on a statewide basis. That's really where it belongs."

1 comment(s)

Frustrating lies from the White House

Tuesday Oct. 4, 2011 - 5:05 pm

From the White House's home page for the "American Jobs Act," a.k.a. Stimulus 2.0:

The President’s plan will expand the payroll tax cut passed last year to cut workers payroll taxes in half in 2012 – providing a $1,500 tax cut to the typical American family, without negatively impacting the Social Security Trust Fund.

Merging two git repositories with history

Tuesday Oct. 4, 2011 - 2:02 pm

I maintain a number of Drupal websites, most of which are managed in a multisite install. I use the same, big git repository for all of them, pushing versions to my production environment using a standard workflow.

Sometimes, however, a project begins in its own repository, which I then want to merge into the multisite repository. I could use submodules to similar effect, but the whole point here is to consolidate repositories, not just link them.

On 'Colorado Inside Out' this Friday

Thursday Sep. 22, 2011 - 10:10 am

I'll be sitting in the "Dave Kopel chair" this Friday for "Colorado Inside Out," KBDI Channel 12's (er, "Colorado Public Television") weekly public-affairs roundtable show. Tune in at 8 pm - the show airs statewide.

The Denver Post's convenient omission on RTD tax

Tuesday Aug. 16, 2011 - 8:08 am

Here we go again: The steady drumbeat you hear emanates from the band marching between RTD headquarters and Denver city hall. Baton-twirling to lead the pack is newly-inaugurated mayor Michael Hancock, who is quoted in today's Post supportive of a 2012 transit tax hike.

More useful data when editing Drupal (7) webform templates

Tuesday Apr. 26, 2011 - 12:12 pm

I really like Drupal's Webform module, especially when managing one-way communication or information that has limited utility beyond the initial submission.

One powerful use of Webform is to e-mail results to a set (or dynamic) list of recipients. The stock install has a serviceable rendering of the submitted elements, though if you want to do any advanced manipulation of the data before spitting it out, you're hard-pressed to find a hierarchical tree merging the webform structure with the submitted values.

Simple security for Drupal database settings

Monday Apr. 25, 2011 - 2:02 pm

I host a number of Web sites for clients on a dedicated server, and most of the time these end-users don't want or need shell or even SSH access to their application backends. Server security is of course always an issue, but without end-users looking around the machine, things like database connection settings can reasonably be stored in plaintext. With only server administrators allowed to log in, there's not much point to hiding them anyway.