Setting up all markup for cms navigation area

I searched high and low for the last couple of days files (files) in Orchard, where I can customize the markup used for navigation

Moving the tree in the Designer Tool and viewing HTML templates and views does not help much, because it MenuItemLinkdisplays <li>in the HTML view, but does not display anything in the template view. So I'm totally dumb.

The initial markup looks like this (taken from the Designer Tool Zone [Navigation]):

<div class="zone zone-navigation">
    <article class="widget-navigation widget-menu-widget widget">
        <nav>
            <ul class="menu menu-main-menu">
                <li class="first">
                    <a href="/Orchard/work">Work</a>
                </li>
            </ul>
        </nav>
    </article>
</div>

I need to configure classes on elements <ul>and <li>, indeed. If possible, I would like to be able to configure everything, so I do not need <div class="zone zone-navigation">, for example.

But is it possible?

+5
1
  • <li> MenuItem (Core\Shapes\MenuItem.cshtml)
  • <nav> <ul> Menu (Core\Shapes\Menu.cshtml)
  • <a> MenuItemLink (Core\Shapes\MenuItemLink.cshtml)

, Menu.cshtml, MenuItem.cshtml MenuItemLink.cshtml ( - ). , .

+9

All Articles