About Connecting Trees
Zingtree makes it easy to break up your projects into smaller pieces, allowing you to connect multiple trees for your users to travel through different branches during their session.
There are several methods you can use to connect your trees:
- You can create direct paths to another tree using Tree Nodes and then linking to those nodes through Action Buttons or Persistent Buttons.
- You can add a Search Form inside a content node that will allow your users to find another tree in your organization based on the criteria you set.
- You can add a Tag List template inside a content node to present a list of trees by tag or nodes by tag for your users to view.
Return to Previous Tree
Using a Tree Node – you can set up a method for your users to automatically return to the previous tree, allowing them to easily navigate back to the last step they visited in a previous tree.
How to set it up
- Create a Tree Node
- In the Open Tree field, select (Return to previous tree)
- Enable user access to this Tree Node through an Action Button or a Persistent Button
Default return behavior
The Return to Previous Tree default behavior depends on the travel method used to get to the current tree:
-
Tree Nodes: When the user travels trees directly through Tree Nodes, returning will lead the user to the starting node of the previous tree. See the section below to customize the return behavior.
-
Search Forms, Tag lists, Persistent Buttons: When a user travels trees using one of these methods, returning will lead the user to the node where they left off.
- Fallback: In any return scenario, if the system fails to find a previous tree, a fallback is in place that directs the user to the top of the starting tree.
Settings to customize return behavior
Tree Setting: Return Node Behavior
In your Tree's Settings > Basic tab, you can access a setting allowing you to set a specific return destination for your users and introduce consistency.
This setting will override the default behavior and direct users to the node specified, no matter how the user previously traveled.
Any specific paths set in Tree Nodes: Return Node ID will override this broader tree setting.
Tree Nodes: Return Node ID
You can choose specific behavior for the exact return path between the tree you’re building and the tree you’re linking to. This will not impact any other path intersecting with this tree. This will only apply when traveling first through a tree node.
This configuration will override any broader settings configured for Tree Setting: Return Node Behavior
Manage this setting in the Tree Node editor, find the drop down for the Return Tree Node ID field and select the destination node.