Code for table of contents in text pattern
Posted: November 1, 2014 Filed under: Computers, Textpattern | Tags: Computers, structure, table of contents, text pattern Leave a comment »Use the following to put in a table of contents in a text pattern page.
<div id="TOC">
<txp:soo_toc label="Contents" labeltag="h3"/>
</div>
The code will build a TOC for every header that has an IDREF. An example would look like this: h3(#thisIsTheID).
tags: computers, structure, table of contents, text pattern