[TYPO3-templavoila] How to generate TOC
philippe.seewer at bfh.ch
Mon Dec 21 16:07:19 CET 2009
Steffen Kamper wrote:
> i was covered with same problem when i needed the markup for flexitabs.
> The problem is with section that they are rendered in the order they are
> 1st element:
> 2nd element:
> i didn't found a possibility to do this in DS with a TS gathering all
> the section and render headers then content.
Yeah, I finally figured the same and decided to write my own user_
Plugin for that.
Just create a TypoScript Element before the section, map it to where the
TOC should go, make it a USER type inside the Typoscript and call the
plugin. With PHP and a bit of arraywalking, generating a TOC isn't a
problem. But too bad it can't be done directly with TS.
Thanks for the inputs all.
> So i stucked with section and used fix elements for now.
> vg Steffen
> TYPO3-project-templavoila mailing list
> TYPO3-project-templavoila at lists.typo3.org
More information about the TYPO3-project-templavoila