drupalmodule

Programmatically Creating Drupal Nodes

Programmatically Creating Drupal Nodes

The Drupal for Developers event was great fun this week. I did a 15 min presentation on Programmatically Creating Drupal Nodes. The slides from this presentation will be going up on the Drupal UK site in the near future, but you can get a preview of the presentation below.

Node Reference Autocomplete with Auto-create Drupal node content from Wikipedia

Here's a few bits of code from today's Drupal wranglings that solves a tricky UX problem with Drupal and CCK Node Reference fields.

Ever wanted to deal with the case that a user might want to reference a node that doesn't exist yet? Well I've played around with a couple of modules (Add n Reference and Add Node), but they didn't offer the clean user experience I needed. Here's an example use-case:

Meeting With Roles - Module for Drupal

I couldn't get the available event content types or CCK to do what I wanted, so I've made a simple meeting module for Drupal that allows you to create a number of meeting templates with various roles, and then create meetings on specific dates, with users assigned to each of the roles.

Syndicate content