I saw a lot discussions about creating generic node using php.

Does anyone know how to create a node with CCK in php code (programmatically)? Either using node_save, or drupal_execute. I prefer latter if I can find out what form id to use.

Comments

blooksllc’s picture

I've used http://drupal.org/project/node_factory successfully, it is still in dev though so it might not fulfill your needs.