From: Whit B. <wh...@tr...> - 2004-03-04 19:05:46
|
On Tue, Mar 02, 2004 at 07:24:12PM +0100, Reini Urban wrote: > I fixed now CreateToc to link to the headers and > optionally link back to the TOC. Nice addition. One thing the current scheme misses is when two different headings have the same subheading. So if you have a page with sections like: Category One Examples Categore Two Examples - the two Examples subcategories try to set up links to the headers like: <li><a href="InPage#Categoryx20.1" class="named-wiki" title="InPage">Category 1</a></li> <li><a href="InPage#Examples" class="named-wiki" title="InPage">Examples</a></li> <li><a href="InPage#Categoryx20.2" class="named-wiki" title="InPage">Category 2</a></li> <li><a href="InPage#Examples" class="named-wiki" title="InPage">Examples</a></li> which both assigns the same link to two locations, but throws an error: PHP Warnings lib/plugin/CreateToc.php (In template 'browse') (In template 'savepage') (In template 'body') (In template 'html'):77: Notice[1024]: Heading <h3> Examples </h3> not found Whit |