Friday 08 October 2010 6:08:41 am
@Jerome, I think what Conrad want is to be able to set the modifier(person) id for the edit of an object. @Conrad, if I'm not wrong there is no modifier_id as the modifier of an object is the creator of the new version of an object. For example you create a complete new object and publish it: version #1, creator id=45 => object_id=5454, current version = 1 Then you edit the object (means you should create a new version of the object): version #2, creator id=46 => object_id=5454, current version = 2 So currently the object of id 5454 is at current version set to #2, the creator of version #2 is of id 46. So this means the current modifier of object id 5454 is of id 46. See what I mean? If you are trying to edit an object in PHP by directly accessing the attributes then store it without creating a new version, you're doing it wrong, or would I say not in the recommended way. You can have a look at the file: kernel/content/edit.php
|