M
M
Matvey Tomilov2018-07-09 20:51:18
MODX
Matvey Tomilov, 2018-07-09 20:51:18

How to solve the problem in modx?

Good evening, current problem
There is a site on modx
The top menu is made through


activeTpl content
<li><a href=""></a></li>

And here's the problem - when you open the tab: catalog, services, etc., it is underlined and has a code
<li><a class="active" href="trot-plitka.html">Каталог</a></li>

But when opening Paving Stones in the catalog, the
Link changes to
<li class="active"><a href="trot-plitka.html">Каталог</a></li>

That is, the asset class moves from the link to the li tag, and the item in the menu is no longer underlined, although the subMenu still highlights the active category correctly.
How can I fix this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2018-07-09
@etozhematvekat

Try to checkout &tpl

&tpl 	
Имя чанка для оформления ресурса. Если не указан, то содержимое полей ресурса будет распечатано на экран. 
По умолчанию: @INLINE <li><a href="" ></a></li>

Clear the cache and make the call uncached.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question