V
V
Vadim Yagofarov2018-07-21 09:15:56
MODX
Vadim Yagofarov, 2018-07-21 09:15:56

How do I display a menu in modx?

How can I display the menu on the site http://artplastorerenburg.rf. The problem is that I specified all the classes when deriving the resources that I can. but I'm missing the parameters.

<nav class="navbar navbar-expand-lg">
                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon">☰</span>
                </button>
                <div class="collapse navbar-collapse" id="navbarNav">
                    
                    <!--<ul class="navbar-nav">-->
                    <!--    <li class="nav-item active">-->
                    <!--        <a class="nav-link" href="http://артпласторенбург.рф/products.html">ПЛАСТИКОВЫЕ ОКНА <span class="sr-only">(current)</span></a>-->
                    <!--    </li>-->
                    <!--    <li class="nav-item">-->
                    <!--        <a class="nav-link" href="http://артпласторенбург.рф/products.html">АЛЮМИНИЕВЫЕ КОНСТРУКЦИИ</a>-->
                    <!--    </li>-->
                    <!--    <li class="nav-item">-->
                    <!--        <a class="nav-link" href="http://артпласторенбург.рф/products.html">КОМПЛЕКТУЮЩИЕ</a>-->
                    <!--    </li>-->
                    <!--    <li class="nav-item">-->
                    <!--        <a class="nav-link" href="#">РЕМОНТ ОКОН</a>-->
                    <!--    </li>-->
                    <!--    <li class="nav-item">-->
                    <!--        <a class="nav-link" href="#">О КОМПАНИИ</a>-->
                    <!--    </li>-->
                    <!--    <li class="nav-item">-->
                    <!--        <a class="nav-link" href="#rev">ОТЗЫВЫ</a>-->
                    <!--    </li>-->
                    <!--    <li class="nav-item">-->
                    <!--        <a class="nav-link" href="#contact">КОНТАКТЫ</a>-->
                    <!--    </li>-->
                    <!--    <li class="nav-item">-->
                    <!--        <a class="nav-link" href="#sale">АКЦИИ</a>-->
                    <!--    </li>-->
                    <!--</ul>-->
                </div>
            </nav>

it turns out that I have everything lit to x..yam due to the fact that I have nowhere to enter the nav-link class, so it is not stylized and is displayed vertically. how can it be solved. As you can see I am using pdotools

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Froggyweb, 2018-07-21
@Froggyweb

use your output template
https://docs.modx.pro/components/pdotools/snippets...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question