Orchard CMS 1.5 Navigation sub menus

2019-07-05 17:05发布

New to Orchard. I have been looking for some documentation on how the menus actually work. It appears that you can have hierarchical menus, but I cannot find any good information on this.

2条回答
我想做一个坏孩纸
2楼-- · 2019-07-05 17:11

Yes, you can. Since 1.5 you can create hierarchical menus from Navigation admin screen. Hierarchy (and reordering) of items can easily be created by drag & drop.

Navigation screen is used to define your menus. In order to display a defined menu you need to put Menu Widget in the zone of your choice. When you create that widget you need to choose which menu is it going to display. Besides the choice of the menu, you can also choose some other optional parameters if you need to customize the display more (eg. display only certain level).

查看更多
Explosion°爆炸
3楼-- · 2019-07-05 17:15

It took me a while to figure this out too. You can see how to create a navigational menu in this video (around 8:45, but i'd recommend watching the entire video).

Basically, you need to drag & drop an item below and to the right of another content item in order to make a nested menu item.

查看更多
登录 后发表回答