Comments TOC
Ignas - May 11, 2006 - 23:43
| Project: | Javascript Tools |
| Version: | 4.7.x-1.x-dev |
| Component: | TOC |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
It would be nice to have Comment TOC module.
I've modified such TOC script actually. Attached.
But I'm bad programmer, therefore no guarantees. It would be nice if somebody (TOC author) use some ideas or code for next universal TOC version.
Before you can use Comment TOC you must modify your template files a little:
At the end of your tempate node.tpl.php place the line:
<div class="pagetoc"></div>
At the begining of comment.tpl.php place (this is hidden information about comment, author):
<div style="visibility:hidden;"><?php print "$author: $title";if ($comment->new) print "<span class=\"marker\"> new</span>" ?></div>
No supprort, sorry.
| Attachment | Size |
|---|---|
| toc.js.txt | 2.18 KB |
