Programatically update node references?

Dave makes a good point about nodes, particularly referenced nodes. Point taken about settings being a great rollout feature in itself, but If someone is coding "about" pages, or front pages and the like, then it seems like they would be important to be able to "roll out" as well. It would be really great if a roll out of nodes worked with the revisioning system :)

Maybe If it just focused on deploying only a few crucial nodes like say anything that's a menu item...or the frontpage? then it maybe it could do it, keeping a reference map of the old and new node ids and updating any references accordingly...hmmmm

Frontpage might be easy.., say import the referenced node, get its new node id, and then put the correct node id it in the front page setting? Anyway, Great ideas here, look forward to playing with it.

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options