Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am facing a problem that in my drupal web site, I am having menu depth level is more then 15. By default drupal 7 provides depth level is 9. Is it any way to increase it's menu depth level?

In short :- I need to add more then 15 childrens in my single menu item.












===========Drupal doesn't allow to add more childrens =====

share|improve this question

Firstly I would suggest having a hard think about whether you actually need a menu that deep and why. Then try to think of an alternative way to structure your data to achieve what you need to do.

The reason is that this is not an easy thing to change (and 15 levels of menu suggests possible information architecture issues).

There is a drupal.org issue https://drupal.org/node/274270 relating to this that has some examples on how you can make the change. The example is for drupal 6 but pretty much the same thing applies to drupal 7.

The problem is that each level has it's own column in the menu links table, so you have to alter the menu links database table to add new columns and then make some changes to drupal core to use these new fields.

As a side note, there is a module called menu depth limit that allows you to set a lower limit but not a higher one.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.