The purpose of navigation is to make it easy for the user to:

  • know which page he is currently visiting,
  • find other pages he may want to visit.

When viewing a Portofino page in a browser there are several elements that serve this purpose, namely:

  • The page URL in the browser's URL bar.
  • The sidebar, which shows the page hierarchy and highlights the page that is currently visited.
  • The breadcrumbs, which shows the path from the root page to the current page.
  • The "Return to parent" button, which takes the user to the parent of the current page. This button can take different names depending on the context. 

The following picture shows an example situation when visiting the page at "/admin/ticket-types".

The sidebar

The sidebar contains a compact representation of the page hierarchy. In the default template the sidebar works as follows:

  • The root page that is in the path is highlighted.
  • The children of the highlighted page are expanded/listed in a section below the previous section.
  • The child page in the path is highlighted and further expanded.
  • As a last section, the child pages (if any available) of the current page are expanded. 

In the example screenshot:

  • "Admin" is expanded into its children: "Users","Ticket resolutions","Ticket priorities","Ticket types","System activity"
  • "Ticket types" has no child pages to expand.

The advantage of this sidebar is that it is visually compact and it expands vertically, rather than horizontally, as the number of levels in the hierarchy grows. 

The sidebar may have other visual representations or may not be present at all, depending on the page template in use.