Module NavTrail


NavTrail navigation bar on top of a Dolibarr page
DoliSwiss-NavTrail-logo.png
Editor Romann Emery - DoliSwiss (doliswiss.ch)
Module ID 194251
Version 1.1.0
Dolibarr 19 to 24
PHP 7.2 to 8.5
Languages English, French, German, Italian
Where to get it DoliStore (NavTrail)
Online demo test.doliswiss.ch
Support info@doliswiss.ch (French, English)

NavTrail keeps track of where you have been in Dolibarr. Each record or list you open is added to a compact bar shown at the top of every page, so you can go back to a customer, a proposal or a filtered list in one click.

Features

  • Records: one entry per record opened (third party, proposal, order, invoice, product, project, contact, user, objects of external modules), with its icon and its reference or name. The link reopens the last tab viewed on that record.
  • Lists: one entry per list. Opened again from the bar, the list comes back with its last filters and sort order.
  • Other pages (optional): setup pages, areas, dashboards, statistics.
  • No duplicates: a page already in the bar moves to the end; the current page is highlighted.
  • Per-user history, per entity, kept between sessions and when the module is disabled then enabled again.
  • Clean history: deleted records are removed automatically; pages the user is not allowed to see are never recorded.
  • Buttons: home, and clear history (protected by a CSRF token).
  • Display: color of the theme menu (dark mode included) or a color of your choice. Wraps onto several lines on computers, one scrolling line on phones. Hidden in popups and print views.

Installation

Home → Setup → Modules → "Deploy an external module", upload module_filariane-x.y.z.zip, then enable NavTrail. Activation creates the table llx_filariane.

To update: deploy the new zip, then disable and enable the module (history and settings are kept).

Settings

Home → Setup → Modules → NavTrail:

  • Number of entries shown (1 to 50, default 10)
  • Record lists / setup pages / other pages (yes by default)
  • Color of the bar (empty = color of the theme menu)

How it works

  • Hooks only (printMainArea, llxHeader, llxFooter, addHtmlHeader) and one trigger on *_DELETE events. No Dolibarr file is modified.
  • No call to any external service.
  • Technical name of the module: filariane.