Skip to the content
Documentation

Missing eztoc operator

No ratings yet

eztoc info here:
http://lists.ez.no/pipermail/sdk-public/2006-March/002034.html
In the object template:
{* body is ezxml datatype*}
{eztoc( $node.object.data_map.body )}
This will produce the HTML output on the page:
<ul>
<ul>
<li><a href="#1">1. Quisque aliquet</a></li>
<ul>
<li><a href="#1_1">1.1 Cum sociis</a></li>
</ul>
</ul>
<ul>
<li><a href="#2">2. Quisque aliquet</a></li>
<ul>
<li><a href="#2_2">2.1 Cum sociis</a></li>
</ul>
</ul>
</ul>