User login

Agaric

Field labels should be number of items / plural aware

Ideal would be on the field settings, or possibly the field display settings, you can set what the singular and what the plural should be.

I don't think automatic adding of an s would work so well.

Point is you have a link field for entering web sites, it should say web site if there is one and web sites if there are multiple.

Use Drush to sync files from one site to another

Believe it or not, this is the function you want:

core-rsync (rsync) Rsync the Drupal tree to/from another server using ssh.

For example:

drush rsync @example.stage:%files @example.local:%files

Can't do remote to remote though.

Better Image Insert Workflow

A truly slick configuration of Insert and Image Resize Filter would disable insert if the img tag is not available for the selected text format.

Making a block example done live at WesternMassDrupalCamp 2011

The most fun lesson learned– passing in a pure integer to the $block['content'] in the implementation of hook_block_view causes an unsupported operand error so deep in the block rendering system the stack trace doesn't even know where it came from.

<?php
/**
 * Implements hook_block_info().
 */
function dgd7glue_block_info() {
  $blocks = array();
  $blocks['twoplustwo'] = array(
    'info' => t('Two plus two.'),
  );
  return $blocks;
}

Funded Free Software

A Drupal developer asked outright what people thought of attempts to monetize. I responded to icanlocalize's blog:

For-pay support is definitely a model with promise and worth trying. Try to avoid keeping key pieces online and proprietary though; that i think is bad for the ecosystem.

Installing Drubuntu

This is for Ubuntu 10.10 with the intention of doing primarily Drupal 7 development.

Get the link to the current version of Drubuntu from the Drubuntu project page, and use it thusly:

wget http://ftp.drupal.org/files/projects/drubuntu-7.x-10.10-beta1.tar.gz
tar -xzf drubuntu-7.x-10.10-beta1.tar.gz

Block all variations of a GMail e-mail address

Other projects and ideas / questions / solutions in this general ideaspaceHow can I block a spammer from repeatedly registering? http://drupal.org/node/139738

Register Pre-approved
http://drupal.org/project/register_preapproved

Storage structure for AJAX Form Messages

By using field storage, we get access to translation.

We've defined the info files, made them dependent on the core module. That was fun!

Caching is fun to implement, but try to hold off until you have all your functionality in place. As someone somewhere surely said (OK, it was Donald Knuth), "Premature optimization is the root of all evil."

We could define our form messages as a nested array analogous to menu definitions— a form ID,

Fields offer the advantage of understanding translation for user-entered data. Therefore, using fields, there's a potential

Syndicate content