Project:Node factory
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:clemens.tolboom
Status:closed (won't fix)

Issue Summary

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

#1

Assigned to:Anonymous» clemens.tolboom

Hope to do this one soon.

#2

Status:active» postponed (maintainer needs more info)

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

<?php
function node_factory_create_node( $nodetype){
?>

but the question is how?

How do I get a list of fields?

#3

Status:postponed (maintainer needs more info)» closed (won't fix)

- no feedback

nobody click here