Limit book depth?
Flying Drupalist - December 8, 2008 - 22:26
| Project: | Outline |
| Version: | 6.x-0.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | seutje |
| Status: | active |
Jump to:
Description
Hi, I would like to limit the depth of books, and it would be great if this module can do that. Thanks. :)

#1
This feature can be considered, but it will be a long while before I have time to work on it unless someone helps by providing a patch which I shall do my best to review promptly.
#2
just made a custom module to limit the depth of books in D6 because I needed it in a project, I will first optimize this, then make it sort of general use (remove the hardcoded depth limit and put it on a settings page) before making a patch that would work with Ouline
might already look into making it work on a per-book basis with a default to fall back to
#3
Thanks a lot seutje! Though I have no need for per book settings.
#4
hmmm, is it just me or is this functionality already in?
#5
Not if I understand the feature request. Core limits book depth at 9. Outline.module doesn't change that.
The TOC depth setting that you see only limits the depth to which the table of content is *displayed*. After that depth, further content is collapsed and hidden in the TOC.
#6
oooh, I see
guess I'll have to add an option and make the helptext a bit less confusing