DDTOC_Break Joomla Plugin

DDTOC_Break is a plugin for defining page breaks and generating a table of contents in a drop-down format. You can download the latest version here.

DDTOC_Break Usage:

Simply add a {ddtoc_break} tag in your article wherever you want to add a page break. The table of contents will be automatically generated.

If you want to add a title for each page, just add a "title" attribute to the tag, like so:

{ddtoc_break title=Title of next page}

To define the title of the first page, simply add a heading attribute like this:

{ddtoc_break title=Title of next page&heading=Title of first page}

Please note, the heading attribute should only be used once per article, since there's only one first page :)

If you want to style the output of the plugin, it's all contained within the .ddtoc_break class. The page titles can be styled with the .ddtoc_break_heading h4 class. By default, nothing is styled, so it will match your site's style.