Drupal Development

Partial Install Profiles

Description & Info: 

Agaric wants configuration profiles, that potentially can be combined, as well as applied later than the original installation.

And it seems like we can have it!

- ben

File uploads and Drupal 5 forms

Key words and phrases: 
FAPI2
Description & Info: 

sudo svn commit -m "uploading images will work so much better with the enctype set"

Allow people to upload user pictures during registration

Key words and phrases: 
Upload user picture during registration add image upload to new user form image picture user picture registration Drupal user picture on registration user picture upload Drupal upload picture registration form register with avatar
Description & Info: 

Well that's annoying.

Spend a good chunk of time creating a module to address a need, return to the thread that's been discussing it since 2006 June to post your efforts and discover it's just been updated to report that the module has been around since 2007 November.

by Benjamin Melançon
Posted on Fri, 2008-09-05 08:35
in

Agaric wants smarter timing for when automatic path creation should replace an existing path or be added in addition to

Key words and phrases: 
URL is created right from the title no weird characters enhancement clean URLs and automatic SEO friendly paths search engine optimization URI
Description & Info: 

The idea is that if a post is edited right away, say within five minutes, and the title is changed, the new human and SEO-friendly path might best replace the old path.

Especially if a title is changed before the post is marked published, the first-created automatic text path should be replaced.

by Benjamin Melançon
Posted on Thu, 2008-09-04 08:20
in

Allow users to assign issues to other people in the project group (organic groups and project module integration)

Key words and phrases: 
Organic groups project og gid
Description & Info: 

Here is a first draft of a function used in our project module and organic groups integration.

Following this model which was proposed to add assignment to other CVS account holders on Drupal.org itself:

http://drupal.org/node/253825
http://drupal.org/files/issues/253825_12_drupalorg.patch

Adding and modifying organic group action (create content) links

Key words and phrases: 
og_links_alter now treats projects right (actually og_link_alter)
Description & Info: 

Moshe is a Drupal God. Look at this! There's a hook for everything!

From og.modules own implementation of hook_og_block_details:

<?php
$links = module_invoke_all('og_create_links', $node);

// Modify these links by reference. If you want control of the whole block, see og_block_details().
foreach (module_implements('og_link_alter') AS $module) {

Development resource list for making and reviewing patches for Drupal core

Key words and phrases: 
patch review core Drupal
Description & Info: 

Resources to help the development of Drupal core mentioned on the development list:

Main patch and review resource (rewritten by Catch):

http://drupal.org/patch/review

Setting up a test environment to review patches (pointed to by Ryan Cross):
http://drupal.org/node/28245

New Testing section of the Getting Involved guide (pointed to by Addison Berry):

by Benjamin Melançon
Posted on Thu, 2008-08-28 08:24
in

Drupal 6 wigs out if you delete or move (as in rename to settings.php) its default.settings.php

Description & Info: 

This right here? Really, really lame.

Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in /sites/example/www/includes/install.inc on line 187

by Benjamin Melançon
Posted on Wed, 2008-08-27 12:32
in

Print a full Drupal database table for debugging a site

Key words and phrases: 
drupal function show database table
Description & Info: 

To display an entire database table from your Drupal site's DB, this script (while quite un-Drupal) got me there quickly:

http://drupal.org/node/45361

Nancy W. did a whole far more Drupalish rewrite of it – http://drupal.org/node/205347 – and included it in her site documentation module.

by Benjamin Melançon
Posted on Thu, 2008-08-21 06:10
in