node_factory 6.x-1.x-dev
| Download | Size | md5 hash |
|---|---|---|
| node_factory-6.x-1.x-dev.tar.gz | 8.89 KB | dff43f4deae420b1d30b810541ec4d9a |
| node_factory-6.x-1.x-dev.zip | 9.79 KB | df980958fc9b8af6150910122c469a89 |
Release notes
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
| Download | Size | md5 hash |
|---|---|---|
| node_factory-5.x-1.0-beta2.tar.gz | 11.21 KB | f55009bbd69873b49313e97d25635a4e |
| node_factory-5.x-1.0-beta2.zip | 12.33 KB | ff9ee15b82c4acf03145abe2eb7ca2a3 |
Release notes
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
| Download | Size | md5 hash |
|---|---|---|
| node_factory-5.x-1.0-beta1.tar.gz | 11.22 KB | d818fdfd84c4fcefd33d10cc7a14b904 |
| node_factory-5.x-1.0-beta1.zip | 12.34 KB | 0d2911f9b454a503f4fa79ad80c5e6eb |
Release notes
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
| Download | Size | md5 hash |
|---|---|---|
| node_factory-5.x-1.x-dev.tar.gz | 13.49 KB | 93fc09fe15c59de40b6c77cd2c410b11 |
| node_factory-5.x-1.x-dev.zip | 16.17 KB | 37f5c4e5f4bda4b22a60301715f1e400 |
Release notes
development release.
node_factory.module has an API change started from version 1.1.2.10