[TYPO3-templavoila] How to generate TOC
Seewer Philippe
philippe.seewer at bfh.ch
Wed Dec 16 15:20:26 CET 2009
Kay Strobach wrote:
> 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
Thanks for the quick answer. Problem is I'd like this done without
having the user manually add an element, it should be part of the template.
Thank you,
Philippe
>
> 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
>
> _______________________________________________
> TYPO3-project-templavoila mailing list
> TYPO3-project-templavoila at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-templavoila
More information about the TYPO3-project-templavoila
mailing list