Active
Project:
Table of Contents
Version:
6.x-3.6
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2011 at 15:07 UTC
Updated:
20 Jul 2011 at 20:38 UTC
Hi,
My question is simple: is it a way to show the toc on every nodes, even if they don't have any title?(the toc will be empty but it's not a problem)
I tried to fix "Number of headers before an automatic table of content is added:" to 0 but it don't work.
Thanks!
Comments
Comment #1
AlexisWilke commentedsjeandroz,
tableofcontents/tableofcontents.pages.inc checkc whether $max == 0. You have to remove that test. Also, if using automatic toc, then the following test probably needs to be removed too: if ($max < $min_limit).
Thank you.
Alexis Wilke
Comment #2
sjeandroz commentedThanks a lot! it works!
thanks thanks thanks!
Comment #3
sjeandroz commentedhello!,
This solution works except now I have an empty toc on each comments..
Comment #4
AlexisWilke commentedYou want to create a different filter for the comments than for the nodes. And the filter for the comments does not include the table of contents filter.
Thank you.
Alexis