User Tools

Site Tools


cmd:move

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cmd:move [2020/06/06 16:44] – created devacmd:move [2020/06/08 18:26] (current) deva
Line 1: Line 1:
-======Move Node to Other Parent======+======Move Node to Other Parent or Change Ordering======
 Move specified node to another parent node. Move specified node to another parent node.
  
 <code> <code>
-move <node id> <new parent id>+move <node id> <new parent id> <before id>
 </code> </code>
  
 If ''node id'' or ''new parent id'' does not exist or if the user does now have permissions to add nodes to the parent or alter the current node then an [[cmd:s_error|error]] is returned. If ''node id'' or ''new parent id'' does not exist or if the user does now have permissions to add nodes to the parent or alter the current node then an [[cmd:s_error|error]] is returned.
 +
 +The node will be inserted in the child list of the parent, before the ''before id''. It can be -1, meaning "insert last".
  
 Note: Subscribers of this node which are not subscribing on the new parent will get a [[cmd:s_remove|remove]] command as the result of this change. Note: Subscribers of this node which are not subscribing on the new parent will get a [[cmd:s_remove|remove]] command as the result of this change.
cmd/move.1591454655.txt.gz · Last modified: 2020/06/06 16:44 by deva