(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
Comment #1
mjpg commentedI forgot to add that the input in TinyMCE WYSIWYG - [toc ...] does work - even thogh it gets wrapped in 'P' tags.
Comment #2
AlexisWilke commentedYou 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
Comment #3
AlexisWilke commentedMarking this fixed since you can achieve this feature using the proper filter with the proper node type.
Thank you.
Alexis Wilke