Using custom php code to save CCK fields

ycimlynn - July 17, 2009 - 23:17
Project:Workflow-ng
Version:5.x-2.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I am using workflow-ng to do some actions after a node is saved. However, I want to enter some custom php code in workflow-ng that will load a different node and save a cck value in that 2nd referred node.

I can get it to work with regular drupal variables (such as "status"), but I can't get it to work with cck nodes.

Here is my scenario....

A user updates content in Node A.

If he updates certain content, then I want it to load Node B, which is already created, and update the information in a cck variable for that node.

How would this be done?

 
 

Drupal is a registered trademark of Dries Buytaert.