default values of the cck_fields are not populated by generating a new node.
should we loop all fields and fill in the default value?

$value = ((!empty($field['widget']['default_value'][0]['value'])) ? $field['widget']['default_value'][0]['value'] : '');

Comments

clemens.tolboom’s picture

Assigned: Unassigned » clemens.tolboom

Hope to do this one soon.

clemens.tolboom’s picture

Status: Active » Postponed (maintainer needs more info)

I need some suggestions for this one. I think this is the best place to do this

function node_factory_create_node( $nodetype){

but the question is how?

How do I get a list of fields?

clemens.tolboom’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

- no feedback