开发者

How to add subpages in Orchard CMS

开发者 https://www.devze.com 2023-02-06 22:20 出处:网络
I added a new page in the main menu, e.g. Products. Now I want to add a subpage e.g. Sub Products below a Products page. I tried all possible options in 开发者_StackOverflowthe dashboard but it didn\'

I added a new page in the main menu, e.g. Products. Now I want to add a subpage e.g. Sub Products below a Products page. I tried all possible options in 开发者_StackOverflowthe dashboard but it didn't work for me. Any ideas how to handle this?

Thanks.


here is a quick solution for this

Go to your dash board -->Gallery -->Modules search for Hierarchical menu and install it after installing then go to Configuration -->Features and enable it. Go go to Navigation .give position like 2 for "Products" and 2.1 for "Sub products".

you will see Sub products appear under Products page.


As of Orchard CMS 1.5 this is supported by the core navigation module. Now you can simply drag and drop menu items under one another in the Admin -> Navigation view. You can then control level rendering under the widget settings for the menu by setting the "Start level" and "Levels to display" properties.

See release notes for further details.

The navigation documentation doesn't seem to be up to date though :(


Take a look at: http://orchard.codeplex.com/Thread/View.aspx?ThreadId=242327

The module to support this (along with many other modules) is available in Orchard's module gallery.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号