Skip to Content

Drupallets

Droplets of Drupal and Drupal-related wisdom...

In praise of content wrangling

A website is nothing without content. And sometimes the content you start with needs a fair amount of "wrangling" before it is in good shape for the Web. Often this is true even if it was wonderful content before you started, because the Web has its own demands and ways of doing things.

Well-written and well-structured site content can not only convey your message, but educate, motivate and influence visitors who read it.

Backup (Stanford) AFS Drupal site shell script

Now with version 1.1!

This is a Bourne shell script for backing up a Drupal site installed in a Stanford AFS group or department account. (This version doesn't work anywhere else.)

It does a dump of the Drupal database and creates a compressed archive of the entire Drupal directory from which it is run. Both the directory archive and .sql file are written to a DrupalBackups directory under the top level directory of the department or group account from which it is run. (If the DrupalBackups directory doesn't already exist, it is created.)

Useful Drupal modules

These are the Drupal modules that I install in essentially every site I set up:

Configuring a new Drupal site

After installation, a Drupal site needs to be configured. Some settings should be changed immediately, for security reasons. Others can be done at a later time.

I covered basic configuration in two of the Drupal workshops I presented at Tech Briefings at Stanford University in my guise as an instructor for Stanford IT Services Technology Training. My handouts are available online at Tech Briefing Workshops at DrupalTraining.stanford.edu:

Multi-site installation with shared database (but not data)

Drupal allows you to run multiple sites using just one Drupal installation, which considerably simplifies keeping each site's code up-to-date (as you only need to update once for all sites, rather than once for each site). There are some useful instructions for installing a "multi-site" at Drupal.org, specifically Run multiple sites from the same code base (multi-site) and Create Multi-site for dummies, but the explanations for some of the steps are a bit unclear, especially if your additional site does not have its own domain or subdomain name and you want to use the same database but not share data.

Syndicate content