In D-6 The maximum depth for a book and all child pages is 9. In D-5 it does not seem to be limited.
I am looking for a way to limit the depth of a book-outline in D-5 to only 3 levels.
Or, what would be a good way to reduce the depth in D-6 ?
Any help appreciated!

Comments

hydrian’s picture

I am also looking for this functionality in books also.

Mehrad’s picture

hydrian’s picture

I haven't but the module page doesn't make it look to promising. It basically says the D5 branch is abandonware.

einkahumor’s picture

Did you find a solution to this problem? I need to limit depth to 2 levels on a D5 site.

jason.jaeger’s picture

Anybody know how to increase the max depth in D6? I am making a big site (using drupal for the first time) and am getting an error because of the max depth.

natuk’s picture

In D6 the book module shares a lot of code with the menu module. The database has a limitation of 9 generations as explained here:

http://drupal.org/node/274270

I think such a limitation should not exist (and did not exist in D5) and hope that it will be removed in D7.

Flying Drupalist’s picture

I would like to limit depth in D6 to 2.

dianaxondie’s picture

add this line to your sites/default/settings.php:

define('MENU_MAX_DEPTH', 2); //or change to whatever number of levels you wish to allow