I'm trying to create a module with a new node type, named nsight_report. I have _menu() and _form() hooks, but for some reason when I go to node/add/nsight_report it just shows me the "Create content" page again, only with the title I specified in my _menu() hook.

I've pastebinned the _menu() and _hook() functions at http://drupal.pastebin.co.uk/15389 . I've asked in #drupal and #drupal-dojo but no dice yet. I just can't understand why it isn't working.

Comments

mooffie’s picture

Try clearing Drupal's cache.

when I go to node/add/nsight_report it just shows me the "Create content" page

Is your content-type there on the list?

(Implementing hook_menu isn't required in D5.)