简体   繁体   English

Drupal:显示带有视图的菜单吗?

[英]Drupal: displaying menus with Views?

I need to develop a kinda Sitemap on the bottom of my website, with all menu items and I was wondering if I can do it with Views. 我需要在网站底部开发一个包含所有菜单项的Sitemap,我想知道是否可以使用Views进行操作。

I actually need to display each main menu item on a different column and add the submenu items to each column. 实际上,我实际上需要在不同的列上显示每个主菜单项,并将子菜单项添加到每个列。

I realized anyway that Views has not access to Menu items, but only to nodes, or am I wrong ? 无论如何,我意识到Views不能访问Menu项,而只能访问节点,否则我错了吗?

thanks 谢谢

I don't believe you can do this with views. 我不认为您可以通过意见来做到这一点。 It sounds like you just need to have the top level menu "expanded" in menu configuration and style accordingly. 听起来您只需要在菜单配置和样式上使顶级菜单“扩展”即可。 For creating something trickier, that involves multiple levels, check out the menu block module ( http://drupal.org/project/menu_block ). 要创建涉及多个级别的棘手内容,请查看菜单块模块( http://drupal.org/project/menu_block )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM