(Using Drupal 6.14, Table of Contents 3.1)

I have one node type called 'newsletter' that is usually long and benefits from a TOC. Other nodes do not.

My users probably won't be able to deal with adding [TOC].

I'd like to be able to use the automatic add of TOC but only for the one node type.

Is this possible through coding, or is it a feature request?

Thanks

Comments

mjpg’s picture

I forgot to add that the input in TinyMCE WYSIWYG - [toc ...] does work - even thogh it gets wrapped in 'P' tags.

AlexisWilke’s picture

You may want to try with [toc] in lowercase.

The setup is done in a filter, so all you have to do is add that specific filter to your newsletter content type and not any other type. If necessary, create a new entry of filters. Then install a module that allow you to select which filter works with which content.

Thank you.
Alexis

AlexisWilke’s picture

Status: Active » Fixed

Marking this fixed since you can achieve this feature using the proper filter with the proper node type.

Thank you.
Alexis Wilke

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.