- Issue created by @Jeff Veit
- 🇬🇧United Kingdom Jeff Veit
A patch for this. It's been a few years since I made a patch, so if this doesn't work, let me know and I'll re-roll it.
The TOC format is supposed to be overrideable using type="something", where "something"is one of the TOC formats.
Unfortunately this does not work.
After having TOC and TOC_filter installed, check your TOC types in /admin/structure/toc. Choose one that is not your default. Let's imagine it's named 'Simple'. Perhaps change it so that it's easily identifiable - for instance use Circle as the numbering type.
Edit a node, add [TOC type="simple"] into the node. Save.
Check the result. Your TOC will not appear.
The problem is that while the options are being read, type controls the loading of the option set for the filter, and it's not being taken into account.
Some code to be altered.
None.
None - this should already work and is documented in the Readme.
None.
Active
2.3
Code
A patch for this. It's been a few years since I made a patch, so if this doesn't work, let me know and I'll re-roll it.