Hi Sebloders
I understand that I can use a field like
AFTERSTORE to dynamically create another piece of content.
I am able to create content for tables:
#__content
and
#__cck_store_form_my_content_type
BUT
I am ignorant and unable to populate
#__cck_store_item_content
The code I would use to create an article is like this. Have I missed something obvious?
$newArticle = new JCckContent(
array('joomla_article')
);
$addArticle = $newArticle->create(
'my_content_type',
// #__content
array(
'title'=> $fields['some_field']->value, // etc
),
// #__cck_store_form_my_content_type
array(
'some_db_column'=> $fields['some_other_field']->value, // etc
)
// #__cck_store_item_content = ????????????
);
Thanks
Bucklash