Ticket #354 (closed defect: fixed)
TOC plugin: Error inserting TOC: Can't get content: 'page_content'
| Reported by: | JensDiemer | Owned by: | JensDiemer |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | other | Keywords: | |
| Cc: |
Description
The TOC plugin can't work on a PluginPage?, see: http://www.pylucid.org/permalink/303/table-of-contens-plugin#KnownBugs
solution: the lucidTag TOC does only insert a placeholder into the page, like: <!-- lucidTag TOC -->
The TOC middleware does all the work. Build the liste of all existing headlines and replace the placeholder with the TOC.
btw.: Move the HeadlineAnchor? middleware from pylucid to the TOC plugin.
Change History
Note: See
TracTickets for help on using
tickets.