Breadcrumb

Introduction

Breadcrumbs is a navigation element representing the path from the starting point to the current point. It is displayed after the list header.

Example: Users table in ispmanager

XML:

<doc ...>
...
<breadcrumb>
  <elem func="file" name="/">
    <param name="plid"/>
  </elem>
  <elem func="file" name="usr/">
    <param name="plid">/usr</param>
  </elem>
  <elem func="file" name="local/">
    <param name="plid">/usr/local</param>
  </elem>
  <elem func="file" name="mgr5/">
    <param name="plid">/usr/local/mgr5</param>
  </elem>
  <elem func="file" name="skins/">
    <param name="plid">/usr/local/mgr5/skins</param>
  </elem>
  <elem func="file" name="orion/">
    <param name="plid">/usr/local/mgr5/skins/orion</param>
  </elem>
</breadcrumb>
...
</doc>

XML description

The breadcrumb element

Contains a list of breadcrumbs.

The elem element

Contains data for the link.

the @func attribute  — a function of the control panel that will be called;

the @name attribute — the displayed link name.

The param element

Specifies additional parameters when calling the function, contains the value of the parameter.

the @name attribute — specifies the parameter name