Releases for Node factory
node_factory 6.x-1.x-dev
First released: August 14, 2008 - 09:07
Size: 8.89 KB
md5_file hash: c9de837a465b72cebefd784fc32c3dc1
Last updated: August 15, 2008 - 00:08
This release is a ON REQUEST release.
It is not tested by anyone including me ... due to time/money constraints.
node_factory 5.x-1.0-beta2
First released: May 21, 2008 - 20:36
Size: 11.21 KB
md5_file hash: f55009bbd69873b49313e97d25635a4e
Last updated: May 21, 2008 - 20:40
Finally a real release. Thanks to Hanno Lans this release could be build.
(beta-1 unfortunately contains some logging)
node_factory_set_value is now aware of some cck field types:
- node reference : select or autocomplete
- text / integer : select, radio/checkbox
Furthermore og_groups field is working. When a cck field is not supported then function node_factory_set_cck_value is to the rescue. This is currently the only way to support multiple values.
With good sponsorship the (cck only) function node_factory_add_value can be build for supporting cck multiple values.
Try this:
$edit = node_factory_create_node('cck_options_number');
node_factory_set_value( $edit, 'title', 'test-' . date('y-m-d G:i:s'));
node_factory_set_value( $edit, 'og_groups', array( 126 , 130));
node_factory_set_value( $edit, 'field_noderef', 126);
node_factory_set_value( $edit, 'field_integer', 10);
node_factory_save_node( $edit);Please read the project page and apply the hints before submitting an issue.
Thanks,
Clemens
node_factory 5.x-1.0-beta1
First released: May 21, 2008 - 20:24
Size: 11.22 KB
md5_file hash: d818fdfd84c4fcefd33d10cc7a14b904
Last updated: May 21, 2008 - 20:25
Finally a real release. Thanks to Hanno Lans this release could be build.
node_factory_set_value is now aware of some cck field types:
- node reference : select or autocomplete
- text / integer : select, radio/checkbox
Furthermore og_groups field is working. When a cck field is not supported then function node_factory_set_cck_value is to the rescue. This is currently the only way to support multiple values.
With good sponsorship the (cck only) function node_factory_add_value can be build for supporting cck multiple values.
Try this:
$edit = node_factory_create_node('cck_options_number');
node_factory_set_value( $edit, 'title', 'test-' . date('y-m-d G:i:s'));
node_factory_set_value( $edit, 'og_groups', array( 126 , 130));
node_factory_set_value( $edit, 'field_noderef', 126);
node_factory_set_value( $edit, 'field_integer', 10);
node_factory_save_node( $edit);Please read the project page and apply the hints before submitting an issue.
Thanks,
Clemens
node_factory 5.x-1.x-dev
First released: January 11, 2008 - 16:05
Size: 13.55 KB
md5_file hash: 666a9e7b7ed23cabb141d50f1aedfed5
Last updated: August 29, 2008 - 00:07
development release.
node_factory.module has an API change started from version 1.1.2.10
