Submitted by Darren on Tue, 17/06/2008 - 00:01.
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:
Recent comments
1 week 3 days ago
1 week 5 days ago
1 week 5 days ago
3 weeks 3 days ago
4 weeks 16 hours ago
5 weeks 16 hours ago
5 weeks 16 hours ago
5 weeks 16 hours ago
5 weeks 2 days ago
5 weeks 2 days ago