14 Nov
2007
14 Nov
'07
2:14 p.m.
User: karens Branch: HEAD Date: Wed, 14 Nov 2007 13:14:37 +0000 Modified files: /modules/cck content.module content_crud.inc Log message: When creating a new content type, the menu needs to be rebuilt so the tabs and paths wok, but the rebuild won't pick up the new content type if done during the hook operation. Solution is to set a session variable noting that a rebuild is needed on the next page load and check for it during hook_init() to rebuild the menu then. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/cck/content.module... http://cvs.drupal.org/diff.php?path=contributions/modules/cck/content_crud.i...