Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 Drupal 站点上创建一本最大书本深度为 18 的大书。有没有办法在 Drupal 7 中增加当前书本深度限制为 9?
我认为您必须更改 menu.inc 文件中的值:
{drupal7}/includes/menu.inc(drupal 7.0 上的第 265 行):
/** * The maximum depth of a menu links tree - matches the number of p columns. */ define('MENU_MAX_DEPTH', 9);
您将不得不更改此处的值以启用更多嵌套书,AFAIK。