new content type appear in admin/content/types but doesn't appear node/add
Hi developers!! I've created a new content type (drupal 5) and it appears in admin/content/types, but for some reason (that I cant understand) it doesn't appear in node/add list... And if I go to node/add/[content-type], the result is the same page of node/add, but in the title shows the title of the new content-type instead of "Create Content" Well.... I've checked the permissions in Control Access, and these are ok... Somebody had has this bug some time?? Thanks!! -- ------------------------ Matias Carranza
This is a common problem. If your node type does not implement hook_form(), it will not show up in the list. This function can return node_content_form($node) if you have nothing to add to the default node form. On Nov 10, 2009, at 3:01 PM, Matias Carranza wrote:
Hi developers!!
I've created a new content type (drupal 5) and it appears in admin/content/types, but for some reason (that I cant understand) it doesn't appear in node/add list...
And if I go to node/add/[content-type], the result is the same page of node/add, but in the title shows the title of the new content-type instead of "Create Content"
Well.... I've checked the permissions in Control Access, and these are ok...
Somebody had has this bug some time??
Thanks!!
-- ------------------------ Matias Carranza
participants (2)
-
Darren Oh -
Matias Carranza