How to Create a Table of Contents in Joomla Articles
Joomla lets you break your articles up by adding a table of contents, which is particularly good for longer articles. If you have an article that’s 4,000 words in length, for example, you don’t want to make your users wait while the whole thing loads. It’s much better to break the article into titled pages, especially when Joomla’s page-break feature is so easy and painless.
Suppose that in the article editor, you’re viewing an article about a picnic that SuperDuperMegaCo’s employees are throwing. Here’s the text of the article:
We’re having a picnic!
What to bring:
You can break this article up into pages by clicking the Pagebreak button below the text window in the article editor.
To see how this feature works, follow these steps:
With the article open in the article editor, click the Pagebreak button.
A pop-up dialog box asks you for the title of the new page.
Enter a page title, and click the Insert Pagebreak button.
Repeat Steps 1 and 2 to create as many new pages as you want.
Click the Save or Save & Close button in the article-editor page.
Open the article in the front end.
You see the article’s table of contents.
Notice that Joomla uses the article’s title as the title of the first page in the article. The text links are the names of page breaks, and Joomla displays << Prev and Next >> links to let users navigate from page to page. The All Pages link in the table of contents displays the whole article without page breaks.