By rizzo on
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
...
Try clearing Drupal's cache.
Is your content-type there on the list?
(Implementing hook_menu isn't required in D5.)
Have you implemented hook
Have you implemented hook node_info?
http://api.drupal.org/api/5/function/hook_node_info
Cheers,
mike
Like books? Check out booktribes the new (Drupal based) community for book lovers
from Computerminds
Mike,
Computerminds offer Drupal development, consulting and training