[development] Staging content to production servers
adrian at bryght.com
Mon Jun 19 17:09:37 UTC 2006
On 19 Jun 2006, at 7:01 PM, Bèr Kessels wrote:
> You are right: in my import export stuff, I allow hardcoded IDs:
> $node->id = 1234
> $node->title = 'foo'
> $node->uid = <token>first_user_uid</token>
$node->nid = resolve_id('nid', 'identifier');
And then keep a special list of what id's the identifiers mean.
When generating the output ( i don't like the word fixture ), it's a
simple check to see if the id is in an identifier list.
A single field / id combination can't have multiple identifiers though.
Drupal developer and Bryght Guy
http://drupal.org | http://bryght.com
More information about the development