To Create a Joomla Article Table of Contents (Joomla Article Index)
by Pat Fortino
Repeat steps 2-5 for each pagebreak / TOC entry.
Save your article and test the changes. The TOC will appear, by default, at the top, right side of the article.Joomla Article TOC / IndexNote: You can modify the CSS rules for the TOC entries and the TOC position and format them however you want.