Quantcast
Channel: How do I programmatically create a simple 'page' node? - Drupal Answers
Browsing all 3 articles
Browse latest View live

Answer by Yarin for How do I programmatically create a simple 'page' node?

An example of how to do this is here- just tried it and it works real nice:How to programmatically create nodes, comments and taxonomies in Drupal 7(This was actually found by codeinthehole for this...

View Article



Answer by Matt V. for How do I programmatically create a simple 'page' node?

The Devel project includes a module called Devel Generate for generating dummy content. You could use it as an example. I think the parts you'd need are in the devel_generate.inc file.

View Article

How do I programmatically create a simple 'page' node?

I have already found Drupal 6 documentation on how to programmatically create a page node.How is it possible to achieve that in Drupal 7?I've changed my strategy, and I'm using another approach, but...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images