Good afternoon, again a small modx question. Installed pdoTools plugin Trying to make this kind of navigation on the site: enter image description here

I compiled this script in chunk:

enter image description here

[[pdoMenu? &level=`1` &parents=`17` &displayStart=`1` &hereClass=`cat_active` &lastClass=`0` &firstClass=`0` &outerClass=`gallery_category` &tplOuter=`@INLINE <ul class="gallery_category">[[+wrapper]]</ul>` &tpl=`@INLINE <a href="[[+link]]" [[+attributes]]><li[[+classes]]>[[+menutitle]]</li>[[+wrapper]]</a>` ]] 

But all this is displayed as follows:

enter image description here

Please explain why menu items are displayed as h2 elements? I clearly prescribe

 &tpl=`@INLINE <a href="[[+link]]" [[+attributes]]><li[[+classes]]>[[+menutitle]]</li>[[+wrapper]]</a> 

Instead, he displays ..

Thank.

    2 answers 2

    Maybe because the list is crumbling. Try:

     &tpl=`@INLINE <li[[+classes]]><a href="[[+link]]" [[+attributes]]>[[+menutitle]]</a>[[+wrapper]]</li> 
    • Unfortunately it does not help - Kamil NHOT
     &tplStart Чанк оформления корневого пункта, при условии, что включен &displayStart. По умолчанию: @INLINE <h2[[+classes]]>[[+menutitle]]</h2>[[+wrapper]]