[TYPO3-templavoila] How to generate TOC

Kay Strobach typo3 at kay-strobach.de
Wed Dec 16 15:14:15 CET 2009


Hi

add a sitemap ce. This has an option to show the headers. The orders 
seems to be like the one in the list module

regards

Kay

Am 16.12.2009 13:23, schrieb Seewer Philippe:
> Hello all
>
> I have a FCE and similar Pagetemplate where the DS looks like this
> (simplified):
>
> SC
> CO
> EL (Header)
> EL (Content)
>
> This is rendered as
> <h3>Header X</h3>
> <div>Content...</div>
> <h3>Header Y</h3>
> <div>Content...</div>
>
> No problem there, with current releases of Templavoila even
> Header-Numbering is now very simple. Thanks for that, btw!
>
> My problem now is that I would like to generate a table of contents for
> the COs and put it before the output. Meaning something like:
>
> <h3>TOC</h3>
> <ul>
> <li>Header X</li>
> <li>Header Y</li>
> ...
> </ul>
>
> <h3>Header X</h3>
> ...
>
>
> Sadly I haven't found a way to generate the TOC or remap/duplicate the
> Headers to inside the required UL. Any hints or solutions would be very
> welcome.
>
> Thank you all,
> Philippe



More information about the TYPO3-project-templavoila mailing list