TableOfContentsX

tableofcontentsx

  • By stewartorr
  • Latest release February 24, 2026 (8 months ago)

About

This extra takes your MODX content and creates an ordered list table of contents based on the h1,h2,h3,h4,h5 and h6 tags. This can be used so that long articles and pages can be broken down and makes it easier for the user to click a section they'd like to jump to.

Installation & usage

Install package using package manager and then follow install instructions in the readme or on my site: https://www.stewartorr.co.uk/tableofcontentsx

At a glance

MODX 3 compatible.

  • Developer stewartorr
  • Latest release February 24, 2026 (8 months ago)
  • First seen in SiteDash February 24, 2026 (8 months ago)
  • License GPLv2
  • MODX support 2.0 – 100.0

Releases 5 indexed releases

Changelog
MODX.com

1.3.1-pl

February 24, 2026

8 months ago

Changelog for TableOfContentsX package.

**TableOfContentsX 1.3.1 - 22/02/2026**

- Added new options to control templating, minimum and maximum headers.
- Updated code to allow for header tags with attributes and child tags
- Updated to work correctly with duplicate header titles

**TableOfContentsX 1.2 - 12/07/2019**

- Fixing an issue special characters in a heading breaking the page anchors.

**TableOfContentsX 1.1 - 13/12/2017**

- Fixing an issue with installing on 2.6.0

**TableOfContentsX 1.0.1 - 28/08/2013**

- Missed off the url relative to the document, breaks sites with

**TableOfContentsX 1.0 - 23/08/2013**

- First version - I hope you find it useful!
MODX.com

1.3-pl

February 23, 2026

8 months ago

—
MODX.com

1.2-pl

July 23, 2019

7 years ago

—
MODX.com

1.1-pl

December 18, 2017

8 years ago

—
MODX.com

1.0.1-beta1

August 28, 2013

13 years ago

—

We've also seen 2 unverified versions of TableOfContentsX in use, but don't list those as we've been unable of confirming they are official releases from an official source.