User login

How to

Information on how to do something... anything.

Change the vocabulary of a taxonomy term in Drupal 7 using the database

By clicking the wrong Add terms link, i managed to add a couple terms to the wrong vocabulary.

One of the powerful things about taxonomy is that all terms are really equals under the hood, no matter what vocabulary they belong to. Unfortunately, Drupal does not make this power available through the UI. We can, however,

Improving on a patch

cd drupal
wget http://drupal.org/files/issues/book-589440-38.patch
patch -p0 < book-589440-38.patch
drush dl devel

Tip: The patch command needs the angle bracket (alligator mouth) to eat the patch file!

admin/modules

Execute command-line statements from within the vi editor

It is very simple and occasionally useful to access the power of the shell from within your vim text editor. In normal mode (esc from insert mode), simply type, colon included

:r

Commands must be preceded by a bang symbol (exclamation mark). Some examples:

:r !date
Wed Apr 21 23:04:22 PDT 2010

Personally, i'll find this useful simply for putting in paths from the file system that i may not be certain of but that bash's tab autocomplete will be able to verify for me.

Updating old Agaric projects to new Rake system

Superseded, see setting up new Ubuntu computer Agaric style.

This is Agaric internal documentation, related to Deploying the Agaric Way. Make sure that you have a checkout of the siteproj 'base' project. If not, git clone it into your file system.

These instructions should be good for all legacy projects:

Redirect multiple domain names to single canonical domain for your site

This Apache rule describes how to have all selected domains and subdomains for a site come up in the site visitor's browser address bar as your one chosen canonical domain.

Here is an all-in-one-line approach:

Drush database commands

Update: See http://data.agaric.com/use-drush-sync-database-from-one-site-another

[Note: currently written mostly from memory after using the commands, not copy-pasting proven commands as i usually do]

How to become a channel operator

in

How to become (or make someone else) a channel operator, for a channel you have registered: use the form "/msg chanserv op #chatroom nickname", for instance:

/msg chanserv op #agaric ben-agaric

This will op people in channels where you have this permission, which would seem to include unofficial channels.

For registered channels you have to be the one who registered (or maybe other things), and you need to be a registered user yourself.

Creating a Subtheme in Drupal 7

Bear with us, and Drupal 7. There are some non-intuitive steps in the subtheming, but the power, simplicity of modifying, and relative ease of upgrading is worth it.

Drupal Community Participation Resources

Initial Drupal community experiences and getting past the "I suck" threshold

Includes an excellent drawing representing her first five minutes in the Drupal community, which is almost everyone's first experience on IRC:

Diaries of a Core Maintainer #6: A tale of two developers

A groups.drupal.org wiki page that needs a lot of love:
How to make it possible to contribute to the Drupal project with small tasks in a few minutes?

Syndicate content