Drupal 7:主菜单不显示子元素
在我的主菜单中,我有主链接和子链接。主要链接打印得很好。但是,当我创建子元素(通过将其拖动到右侧或选择父链接)时,它们根本不显示在菜单中。我可以创建一个新菜单,并且子元素显示正确。我还确保选择了“显示为展开”。子“主菜单”元素是否不应该显示?
In my main menu, I have primary links and child links. The primary links are printing just fine. However, when I make a child element (by either dragging it to the right or selecting a parent link), they aren't displayed in the menu at all. I can create a new menu, and the child elements display correctly. I also ensured that 'Show as Expanded' was selected. Are child 'Main Menu' elements not suppose to show up?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您使用哪个主题?如果您使用 Bartik,那么这就是您的问题,因为 Bartik 主题不支持下拉菜单。请参阅此处http://drupal.org/node/1508652
该链接包含解决方法
Which theme are you using? If you using Bartik then that is your problem as the Bartik theme doesn't support drop down menus. See here http://drupal.org/node/1508652
The link includes a work-around
菜单结构的所有级别/子项都应设置在一个菜单树中(在本例中为主菜单)。
现在转到管理/结构/菜单/设置并将您的主菜单设置为主链接的来源和辅助链接的来源。
All levels/childs of the menu stucture should be set in one menu tree (Main Menu in this case).
Now go to admin/structure/menu/settings and set your Main Menu to both Source for the Main links and Source for the Secondary links.