Provides a Table Of Contents for a node page, which includes all the content of the node.

The TOC will display automatically above content, and is also available as a block, so can be placed anywhere on a page.

This module uses PHP DOMDocument to manipulate content, so may be faster and more accurate than other modules that use a regex approach.

Features

  • Includes all visible fields of a node
  • Doesn't include fields hidden in Manage Display
  • Handles H2 - H6 headings
  • Indenting for each heading level
  • Bullets list
  • Numbered list
  • TOC added automatically above node
  • TOC available as a block
  • Back to top links option
  • Per content type settings
  • Per node settings option

Usage

Set defaults on a content type, each node can also have individual settings.

The TOC will appear at the top of the Content region automatically.

If you add the TOC block to the page the automatic TOC will not display.

Similar Modules

Table Of Contents

Text format filter which converts user entered token into a table of contents. Has a lot of features.

TOC Filter

Text format filter which converts user entered token into a table of contents. A lightweight alternative to the Table Of Contents module.

TOC Formatter

Adds Table Of Contents to a single field as a field formatter option.

Sponsorship

Support

If you've found this module particularly useful and want to say thank you, there's a wide range of stuff I'd welcome on my wish list (UK) (US).

Development

Developed by Robert Castelo for Code Positive.

Supporting organizations: 
Development and maintenance

Project information

Releases