Forums / Developer / adding location / Comment44546
SiXTy
Saturday 05 November 2005 3:28:26 am
I've fixed the problem by adding $operationResult = eZOperationHandler::execute( 'content', 'publish', array( 'object_id' => $object->attribute( 'id' ),'version' => $object->attribute( 'current_version' ) ) );
but another problem emerged: the node was added without subnodes. Does anybody know if there's some function for adding node with its children? TnxE.