Closed (fixed)
Project:
Usernode
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2007 at 23:29 UTC
Updated:
25 Sep 2007 at 13:32 UTC
Once I ran cron and created my usernodes they all ended up on the frontpage.
The module should set content type default to not "promoted". Not sure where this should be done, node_info hook does not seem to support setting workflow defaults, perhaps this should be done in enable or install hook?
As far as other defaults are concerned, perhaps usernode should make use of more settings allowed in hook_info (e.g. turn off body):
http://api.drupal.org/api/function/hook_node_info/5
Comments
Comment #1
fagoactually, usernodes were already not promoted to the frontpage per default, however the "default setting code" was broken. thanks for the note - I've fixed it up. Furthermore I've added some more content type defaults as you suggested - I removed the body field and locked the content type name.
Comment #2
(not verified) commented