I use such a chunk for the drop-down menu. This is an outer wrapper.

<ul class="top-nav__nav"> [[+wf.wrapper]] </ul> 

chunk code Rowtpl

 <li class="top-nav__item ![[+wf.classnames]]! [[+wf.attributes]]"> <a class="top-nav__link text-body" href="[[+wf.link]]">[[+wf.linktext]] </a> [[+wf.wrapper]] </li> 

innerTPL chunk code

 <ul class="sub-menu"> [[+wf.wrapper]] </ul> 

innetrowTPL

 <li> <a class="text-body" href="[[+wf.link]]">[[+wf.linktext]]</a> </li> 

A drop-down menu appears, but the links in the last code are relative to a category such as site_url: / category / link1 And I need the links in the sub menu to be directly relative to site_url type

 1 главная site_url:/ 2 услуги site_url:/uslugi 2.1 Ремонт site_url:/remont 2.2 Доставка site_url:/dostavka 3 оплата site_url:/oplata 

Help me figure it out and the whole head is already broken.

    0