5 Feb
2009
5 Feb
'09
10:34 p.m.
On 5-Feb-09, at 1:50 PM, Earl Dunovant wrote:
Use drupal_execute().
Unfortunately, there are some static caches which can cause problems when you call drupal_execute() multiple times in one request. You don't say what content type you're using, but there are some specific issues with the book module and the menu system. If you do end up using drupal_execute(), either do one node add per POST, or look at applying and reviewing the following patches: http://drupal.org/node/360377 book_get_books() cache becomes stale when batch-inserting book pages http://drupal.org/node/364529 menu_tree_all_data() static cache can become stale --Andrew