Module Compare

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search


Dolibarr Compare Module

Author: Seth Rickert – Apex Tech Mods

Email: Admin@ApexTechMods.com

Version: 1.0

Dolibarr Compatibility: v16+

PHP Compatibility: v7.1+

License: GPLv3

Description

The Compare module provides a powerful side-by-side page viewer inside Dolibarr. It allows users to compare up to five different Dolibarr pages simultaneously using draggable iframes. Each column can be independently reloaded, resized, toggled between desktop/mobile views, and printed with clean formatting.

Built entirely without modifying Dolibarr core files, Compare integrates seamlessly and remains compatible across updates.

Key Features

  • Compare up to five Dolibarr pages side-by-side
  • Draggable vertical divider layout
  • Support for desktop/mobile toggling per iframe
  • Persistent session data using browser localStorage
  • Print-optimized layout with auto-numbered pages
  • Toolbar controls for reloading, view switching, and layout resets
  • Optional top icon and left sidebar menu entry (configurable)

Installation

1. Download the ZIP package from [DoliStore](https://www.dolistore.com/en/modules/compare-module.html) or [1](https://apextechmods.com).

2. Upload it to the `/custom` directory of your Dolibarr instance.

3. Go to Home → Setup → Modules → Deploy external module and install it.

4. Enable it via Setup → Modules.

5. Configure links via Setup → Modules → Compare → Setup

Usage

Navigate to the Compare module from:

  • The top icon (if enabled)
  • The left menu under "Home" (if enabled)

You can load any Dolibarr internal URL (card pages, lists, forms) into each of the columns. Controls appear above each iframe for customization.

Screenshots

Dolibarr Compare Module Screen Capture

Compare Screen Capture 02.png

Translations

English, French, Spanish, German, Portuguese (Brazil), and Italian

New translations can be added by editing or adding the files in the `/langs/` directory of the module.

Development Info

  • Module ID: 220020
  • No core override – fully modular
  • Written for PHP 7.1+
  • Custom config: `COMPARE_TOP_ICON_ENABLED`, `COMPARE_LEFT_MENU_ENABLED`
  • Created by: Apex Tech Mods

Download

Author

Seth Rickert

Email: Admin@ApexTechMods.com

Company: Apex Tech Mods

Categories

Modules/Plugins

  • Reporting or search
  • User's interface
  • System tools