Skip to main content

Main navigation

Menu

Close
  • Home
  • Modules
  • System
  • Theming
  • Search blog
  • Contact
Menu

Create drupal node programmaticly

Thu, 11/24/2011

Everything you need for this is here http://www.unleashed-technologies.com/blog/2010/07/16/drupal-6-insertin…

Take a note that you can also use node_object_prepare($node); to automaticly prepend node with some defaults and one glitch is that if you have node type with a name like

mm-evid when you put it in node type it has to be downscore

$node->type = 'mm_evid';

Drupal 6
Tweeking
Migrations
Modules

Finding The Way Home @ 2011 - 2020

Powered by Drupal