Managing the navigation tree

For each portal instance, you can explicitly manage the navigation tree. We will see how to create new nodes for the navigation tree, select the page instance for the navigation node, and change access permission on-the-fly.

In order to manage the navigation tree you need to know that each navigation node must be associated with a specific page node.

We discussed in the Managing portal pages recipe that while creating a new page, the portal automatically creates a navigation node for the page for showing the page in the portal structure.

The navigation structure will be rendered in a different way for each user based on the user identity and group memberships.

Getting ready

  1. Log in to GateIn as administrator of the financials portal.
  2. Click on Site in the toolbar.

How to do it...

The navigation tree can be managed by following these steps:

  1. Click on Edit Navigation for the financials portal to open Navigation Management.
  2. Right-click on the Contact us node:
    How to do it...
  3. As you can see in the preceding screenshot, for each navigation node you can execute the following operations:
    • Add new Node: Adds a child node for the selected node
    • Edit Node's Page: Manages the related page node with the Page Editor
    • Edit this Node: Changes the selected navigation node properties
    • Copy Node: Copies the current node in order to create a new one
    • Clone Node: Copies the current node with the same content of the current node in its own page
    • Cut Node: Cuts the current node for pasting in another section
    • Delete Node: Removes the current node from the tree
    • Move Up
    • Move Down

    Move Up and Move Down allow you to change the presentation order inside the portal by moving the selected navigation node according to your needs.

  4. Click on Edit this Node.
  5. Click on Page Selector to access to the same field settings that we have discussed in the Page Creation Wizard in the Managing portal pages recipe:
    How to do it...
  6. The Page Selector tab manages the association between the current navigation node and the page node. Here you can press two buttons:
    • Clear Page: Removes the associated node page
    • Search and Select Page: Allows you to choose a new page node
  7. Click on the Search and Select Page button.
  8. In the Select Page window, you can select a different page to associate to the current navigation node. First, using the Title, Site name, and Type fields you can search your preferred page by clicking on the search icon, then you can click on the confirmation icon to associate the new page to the current navigation node.
  9. By clicking on the Icon tab, you can change the navigation node icon to show in the navigation tree.
  10. Select the icons category from the left panel, and then you can select your preferred icon from the right panel, then click on the Save button.

How it works...

GateIn manages pages using different node types:

  • Navigation nodes
  • Pages nodes

By now, you should understand that for each page the portal needs to define an association instance between a navigation node and a page node.

See also

  • The Managing portal pages recipe
  • The Managing registered portlets recipe
  • The Managing the dashboard recipe
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.170.187