options only used once
casey - November 25, 2007 - 23:42
| Project: | Table of Contents |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
When you put <\!-- ?tableofcontents(.*)--> twice or more in your content the options of the first appearance of <\!-- ?tableofcontents(.*)--> are applied for the others also.

#1
Yeah, that's an issue which I haven't really tackled. Having multiple ToC's also introduces other issues - like being able to determine what tags to include. Do you include all of them, just the ones below, just the ones until the next toc tag?
I think this is best dealt with after the theming patch is dealt with, otherwise the work will clash with each other.
--Andrew
#2
subscribing
#3
Version 3.x for D6 fixes the problem of the parameters. It does not deal at all with the idea of only including headers from TOC 1 to TOC 2, from TOC 2 to TOC 3, etc.
The only reason to do that, to my point of view, would be to add the TOC at the start & end of a page so I could imagine that it would work just fine the way it is now.
If you have moved on to D6, try 3.x-dev.