Drupal Revisioning

Drupal's canned revision system is an excellent, easy to use tool that adds one more layer of backup/version control.

I'm not saying I'd depend on it completely, but I will say that it makes user error recovery ridiculously simple.

Continue reading

Backup_Migrate

Why not?

I set up two schedules on a couple websites that are close to launch.

Really, the backup files aren't too terribly big. So I set up one folder to do my daily backup, and I keep 7 of them.
Then, I set one to be hourly, since we're in crunch time, and multiple folks have their fingers in the system. If something goes wrong, I don't want to be unprepared.

It's not hard at all. 10 minutes to set up both, tops. Do it.

Hourly database backups. I keep 24.
Secondary daily backups. I keep 7.

This will be revisited when the heat comes off.

Continue reading

Drupal Modules and Regression Testing

'Twas the night before a controlled release to stakeholders for some VoC and user testing,...

Last night I had a dangling storm cloud of uncertainty on a previously working module.
Previously, our products were categorized appropriately and effectively. We had a dynamic taxonomy/term/% view that was doing its job. Life was good.

Continue reading

Increasing Field Length Restrictions

I had limited a field in our 'Alternator' content type to 50 characters. Our client wanted the field to be bigger, and Drupal by default says, "

This is the solution I applied, in template.php:

http://nathan.rambeck.org/blog/42-modify-drupal-7-text-field-maximum-length

I renamed the methods to match the template. Then I called the function in an inconspicuous place on the site. It worked like a charm.

Continue reading