Skip to the content
Documentation

Swapping nodes

No ratings yet

A swap exchanges what two locations show. Each location keeps its place in the tree, its sub items and its parent; only the objects behind them change places. It is the quick way to put a new object at the head of an existing branch, for example a reworked start page of a section that you prepared out of sight and now want in front of everything below it.

Who can do this

Editors who may edit both items, and who may create each item's class under the other item's parent. Without these rights the swap is refused.

Swap two items

  1. Prepare the replacement: create it somewhere else, for example in a hidden folder, and publish it.
  2. Check the branch you are about to change: open the item's menu in the tree and choose Advanced > Sitemap for subtree. A two-level index of everything below it opens.
  3. Open the menu of the item to replace and choose Advanced > Swap with another node.
  4. The browser asks you to Choose the node to exchange for the item. Find the replacement, select it with its radio button and press Select. The two objects change places. The sub items stay where they were and now hang under the replacement.
  5. Open the old object in its new place (where the replacement was) and remove it or keep it hidden.
The Advanced part of an item's menu with Swap with another node outlined

Advanced > Swap with another node in the item's menu starts a swap.

The browser that asks for the node to exchange for the item

Choose the item to swap with and press Select. Cancel leaves both items where they are.

What can go wrong

  • The swap is refused because of sub items. An object whose class is not a container cannot take a place that has sub items. Choose a container class for the replacement.
  • The section changes. When a main location changes its object, the object takes the section of its new parent. Check the Details tab of both items afterwards.
  • The old object is now visible. It took the replacement's place; if that place was visible, so is the old object. Remove or hide it right away.
  • Node and object numbers. The locations keep their node IDs; the object IDs move. Links made to a node now lead to the other object. The Details tab shows both numbers.

Read more

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.