User login


Media styles workaround (extremely fragmented notes)

Summary of What's Working

 * Define additional view modes for Media formatting.
function feature_media_configuration_entity_info_alter(&$entity_info) {
  // Based on RobW's code:
  // Media module only recognizes view modes with the prefix media_.
  // View mode for mobile slideshow images

complex view example

$view = new view;
$view->name = 'contributions';
$view->description = 'Articles and Commentary';
$view->tag = 'content type';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
'nid' => array(
'label' => 'Nid',

Lighter weight biblio_load_contributors

Somehow I wrote the explanatory text for the function twice. It seems far too much for a small function so we're pulling out the philosophy and putting it here, for now.

Adding Drupal profile as a git submodule (terminal dump)

Not sure about this approach, let alone the documentation.

git add modules/
cd ../../../
git add .gitmodules drupal/profiles/imcdrupal/

cd drupal/profiles/imcdrupal/

git status

git commit -m "added the imc alba modules, and fckeditor (and the fckeditor third party download)"

git push

cd ../../../

git add drupal/profiles/imcdrupal/

git commit -m "With imc alba profile and modules"


The Drupal way, in a sentence

On IRC #drupal:

webchick: What I would rather do is pimp out trigger module so we could do that kind of stuff just through configuring some actions


Pro Bono Youth Radio Review

A technical review, newly relaunched in Drupal.

DrupalCampNYC5 final random notes

San Francisco
semantic library

looking for developers

open library project

(Then later at the bar PLOS was mentioned again by ....)

for a description of visual photos

tagging photos

someone writes New York

take all these options and make one unified thing

one word or two word or underscore

categorizing what color is on a picture

Notes on the Taxonomy Code Sprint to turn into a Drupal planet post soon enough

the better taxonomy is under the hood, the better it will be for crazy community-empowering stuff like that


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:

<div class="field field-type-text field-field-featured-product-desc"><div class="field-items"><div class="field-item"><p>win win win</p>

Image outputs as:

Gathering the data needed to abuse field formatters-- disable and combine and change per node settings set by user

For old times sake... this is one of the last outputs like this before I use a properly integrated development environment, Eclipse PDT (for PHP) with xdebug, which will show all the variables without the Drupal set messaging and such.

Field_placement displaying using CCK field formatters

This is the point where after more blocks and bloopers than I care to admit that we should finally have all the data we need.

Before I try to output any of it though.

The below function produces the below drupal_set_message (dsm using devel) output:

Syndicate content