Forums / Developer / Moving Objects via PHP & Cron / Comment40880
Pål J Didriksen
Monday 04 July 2005 7:14:51 am
Ralph,
it seems we have the same problem... I tried different variants of code, including something very similar to your code, but whichever solution, the object ended up with a node assignment as some kind of a combination of the old and the new assignment.
An idea could be to track down what the kernel does when you manually move an object by pushing the "move"-button. I want to do the exact same thing in code. Haven't had the time to look further into it after I temporarly gave up the $node->move function last night.
Pål J