L
L
lexstile2017-01-27 14:26:45
MODX
lexstile, 2017-01-27 14:26:45

How to display only the second level menu for the desired section?

There are sections, each with subsections.
It is necessary in each section to display the menu only from its (related only to this section) subsections.
This code outputs only for one section, and I need for each.


menuRow Template
<li ><a href="" title="" ><span></span></a>
<div class="it" style="display: none">
<a href="#">Потолок на кухне</a><br/>
<a href="#">Потолок в ванной</a><br/>
<a href="#">Каталог цветов</a>
</div>
    <div class="prew">
        <div class="img-prew" style="display:none">
            <img src="" width="120" height="120" ><br/>
            <a class="link-left-menu" href="" title=""></a>
        </div>
    </div>
</li>

Please respond. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sanes, 2017-01-27
@Sanes

&startId=`2`
True, Wayfinder has not been used for a hundred years, in pdoMenu it is
&parents=`2`

I
Ilya Osipov, 2017-08-17
@Yakov_umniy

I looked at your code and did not understand what it should do in the end. Describe the desired result. From what I've seen, everything works.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question