HubMir

MODX in your project

Published MODX pages through the read connector.

MODX data alongside your project

Published MODX pages through the read connector.

MODX data and refresh

Published MODX pages through the read connector.

First snapshot after access verification

After access verification, up to 50 entries from the selected source are saved.

Review the first snapshot
MODX · Content
IDTitleUpdated
101About18.11 · 10:00
102Contact17.11 · 15:20
Workflow illustration with demo data.

Up to 50 entries per refresh

Edit the content or product in MODX. HubMir sends no data-editing commands.

Edit in the original CMS
MODX
Data source

Published MODX pages through the read connector.

Workflow illustration with demo data.

Refresh explicitly from the module

An explicit refresh checks access again and replaces the current project snapshot.

Retrieve fresh data
Content
IDTitleUpdated
101About18.11 · 10:00
102Contact17.11 · 15:20
Data updated

The update time is shown alongside the source.

Workflow illustration with demo data.

MODX module demonstration

Published MODX pages through the read connector.

HubMir Cosmos
MODX
MODX
hubmir-modx.php HTTPS URL
https://cosmos.example/hubmir-modx.php
Connector token
••••••••••••••••

How to connect MODX

Before you start

Separate access to the intended CMS data. Credentials are stored in the project’s protected vault.

  • hubmir-modx.php HTTPS URL
  • Connector token

Connection setup

  1. Requires MODX Revolution 2/3, PHP 7.4+, PDO MySQL, mbstring and SFTP access to the website files.

  2. After adding the module to the project, download the connector ZIP below and unpack it locally. Upload hubmir-modx.php to the website root through SFTP.

  3. Place hubmir-modx-config.php in a private directory outside the document root. Set the absolute MODX core_path and a separate random token of 32-128 letters, digits, _ or -. Do not reuse a MODX password.

  4. In hubmir-modx.php set the absolute private-config path. Restrict the config to the PHP user or its private group (0600/0640) and deny HTTP access.

  5. Enter the complete HTTPS URL of hubmir-modx.php and matching token in the HubMir connection form. Check and save loads up to 50 published, undeleted pages. The connector runs SELECT statements in a READ ONLY transaction.

  6. The endpoint must return 403 without a token. For 503 check core/config/config.inc.php, PHP extensions and database access; keep PHP error output private. To disconnect, remove the connection and both connector files.

Open your project
Connect