tableofcontents 6.x-3.8

Security update
Unsupported

Better check for the permissions when showing the table of content in the table of content block. Check that the user can actually see the node of which the table of content is being shown. If not the block remains empty. SA-CONTRIB-2012-166 - Table of Contents - Access Bypass.

tableofcontents 6.x-3.7

Bug fixes
Insecure
Unsupported

* Issue #1250974: No ToC in revision by henkiejan: Fixed the case when viewing a node with a specific module (i.e. node/%/view/...)
* Fixed the block configuration (i.e. hid unused flags, save all used flags.)
* Fixed the block cache (i.e. cache per page.)
* Fixed the rendering so some states do not prevent the block table of content from being defined as expected.
* Removed the appearance of ?> in strings.
* Fixed "appeneded".
* Issue #1139212 by tangent: added two theme functions.
* Added support for ndash.
* Safe title gets tags removed.
* Prevent TOC in body when block flag is set.
* Removed the drupal_unpack() for the comments since that's only for the $user->data field which we do not load (not necessary!)
* Fix for translation. #839922: Some missed translations texts
* Made the Table of Contents Back to Top Links use plurial for the links.
* Coder fix adding the file info.
* Fixed an E_NOTICE error.
* Put the case 'list' back in so users don't get errors for unsupported param.
* Fixed letter N with half circle from 'i' to 'y'.
* Fixed the lower to upper case on Russian letters #678406: Incorrect (uppercased) transliteration for cyrillic letters in i18n-ascii.txt -- Use Transliteration instead?
* Added missing $Id:$ in the CSS file (does not apply anymore though!)
* Group the administration flags with fieldset.
* Removed unused widget.
* Added an option to choose whether the [toc title=...;] accepts tags.
* Removed the List Type selector (moved to Numbering.)

tableofcontents 7.x-1.x-dev

Bug fixes

Only TOCs added to a node through the block module are supported so far, not by text filter or node type. See #902564: Drupal 7 port, searching for a co-maintainer for more info.

tableofcontents 6.x-3.6

New features
Bug fixes
Insecure
Unsupported

* Without a #maxlength, the list of allowed tags may be limited to 128 characters which is too small (#809756: List of tags allowed in table headers cannot exceed 128 chars.)
* Moved the </li> so it properly closes after </ul> entries at all levels. #808942: Missing closing li tag after nested lists
* Added support for auto-section naming (id=...) without the title #809520: Anchor do not work for non-latin scripts: use simple numeric anchor
The module now offers several options:
- from the title
- randomly
- incrementing counter starting at 1
- section numbers (-1, -2, -2-1, -2-1-1, etc.)
- custom (requires another module!)
And you can change the word before and the separator.
* Fix unicity of id's even for pre-defined identifiers (and warn about it)
* Coder fixes (global variables, some else if.)
* Fixed a potential E_NOTICE error.
* Fixed DELETE of block variables with double % and {}.
* Fixed the 'allow_override' test #798126: Table doesn't start collapsed regardless of option set in input format
* Cancel the generation of the table of content if we are on the print page. (See #795206: Print module support, hide, no link, better CSS)
* Remove tags before creating anchor identifier #787046: Extra characters on the anchors
* Remove double underscore in the anchor identifiers.
* Added support to remove unwanted tags in the TOC header and characters from the header identifiers (#542780: Preserving HTML header attributes is causing side-effects., #784428: Rendering html elements with h tags, create option to strip all childs from the h tag in the table?)
* Fixed an E_NOTICE, we should not use $node if the node does not exist at all.
* Fixed an SQL statement that compared a string to a number (invalid for Postgresql)
* Always define a default identifier.

tableofcontents 6.x-3.4

Bug fixes
Insecure
Unsupported

Couple of small fixes. I do a main version because the next -dev will include many new features... (that I'm about to check in!)

tableofcontents 6.x-3.2

Bug fixes
Insecure
Unsupported

Several bug fixes, especially the support for newlines in the headers (i.e. <h1>blah...[new line]...</h1>)

tableofcontents 6.x-3.1

New features
Bug fixes
Insecure
Unsupported

This is a refactor of the 2.x version to fasten the module and incorporate the many feature requests we have had for the past 6 months or so.

Please, make sure to read the WARNING on the front page about upgrading from 2.x or 3.0 to this newer version 3.1

Thank you.
Alexis Wilke

tableofcontents 6.x-3.x-dev

New features

This new branch will include my heavy changes to this module functionality.

tableofcontents 6.x-3.0

New features
Insecure
Unsupported

I think it will be safer if I just started a new major version... That way you can continue to use 2.x if you started with that.

tableofcontents 6.x-2.3

Bug fixes
Unsupported

This release includes all the changes made on the TOC since 2008-Aug-18. The primary author had not done new releases since then so there are certainly tons of changes! If you were still using 2.2, it is not totally unlikely that it will not update right as is... But I'm about to make heavy changes so I wanted to have a main version of the current code.

tableofcontents 6.x-2.2

Bug fixes
Unsupported
  • #257584: missing t() for "[hide]": Translate javascript show/hide toggle link.
  • Converting CSS to have unix line endings.
  • Enable caching for both filters. Properly update the cache if only the attachments list has changed.

tableofcontents 5.x-2.2

Bug fixes
Unsupported
  • #254937: show/hide text not toggling: Fix jQuery call so that the show/hide text works properly.
  • Enable caching for both filters. Properly update the cache if only the attachments list has changed.
  • Changing javascript to have Unix line endings.
  • Converting CSS to have unix line endings.
  • Minor code cleanups to match the Drupal 6 version.

tableofcontents 6.x-2.1

New features
Bug fixes
Unsupported
  • Fix minor bug in missing space for heading tag attributes.
  • Add option to show attachments to a node at the end of the table of contents, enabled by default.
  • Only show headings that occur after the table of contents, so that headings in introductions or teasers won't show up in the table.
  • Fix invalid (X)HTML with nested lists.
  • First official Drupal 6 release!
  • Thanks to everyone who submitted issues and patches.

tableofcontents 5.x-2.1

New features
Bug fixes
Unsupported
  • Fix minor bug in missing space for heading tag attributes.
  • Add option to show attachments to a node at the end of the table of contents, enabled by default.
  • Only show headings that occur after the table of contents, so that headings in introductions or teasers won't show up in the table.
  • Fix invalid (X)HTML with nested lists.
  • First official Drupal 6 release!
  • Thanks to everyone who submitted issues and patches.

tableofcontents 5.x-2.0

New features
Bug fixes
Unsupported

Here is the stable release of Table of Contents 2.0. Highlights include:

- Compatibility with multi-line tags.
- Doesn't clobber existing tags or attributes.
- Better display with jQuery.
- Many bug fixes!

tableofcontents 5.x-2.x-dev

New features
Bug fixes

This version contains significantly rewritten code to add new features and to fix some limitations of the previous version.

Subscribe with RSS Subscribe to Releases for Table of Contents