Ticket #354 (closed defect: fixed)

Opened 7 weeks ago

Last modified 12 days ago

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

Changed 12 days ago by JensDiemer

  • status changed from new to closed
  • resolution set to fixed

done in changeset:2549

Note: See TracTickets for help on using tickets.