Drupal Development
Partial Install Profiles
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
sudo svn commit -m "uploading images will work so much better with the enctype set"
Allow people to upload user pictures during registration
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.
Agaric wants smarter timing for when automatic path creation should replace an existing path or be added in addition to
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.
Allow users to assign issues to other people in the project group (organic groups and project module integration)
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
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
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):
Drupal 6 wigs out if you delete or move (as in rename to settings.php) its default.settings.php
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
Print a full Drupal database table for debugging a site
To display an entire database table from your Drupal site's DB, this script (while quite un-Drupal) got me there quickly:
Nancy W. did a whole far more Drupalish rewrite of it – http://drupal.org/node/205347 – and included it in her site documentation module.
Figuring out the HTML code to generate and the CSS to use for placing CCK fields in the corners of a textfield
Text outputs as:
win win win
