K
K
Karen Grigoryan2014-06-20 09:19:43
MODX
Karen Grigoryan, 2014-06-20 09:19:43

Why does wayfinder work incorrectly?

Hello.
I made a complex menu on modx revo using wayfinder, but there is a bug. In the menu there is an item "Services" which in turn has 2 more menu levels. Accordingly, so that when the user does not leave the page when clicking, I assigned the link # to this item. On the main page, everything works correctly, but on the internal pages, when you click on the Services, it goes to the page my-site.ru/#, but it should go to my-site.ru/inner-page/#
Does anyone know why this is?
revo 2.2
friendly url YES
Container Suffix /
Use Friendly Alias ​​Path Yes
Registered<base href="http://askmeplz.com/" />

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Karen Grigoryan, 2014-06-20
@grigkar

Found an easier option. Created a plugin with the following content:
and in System Events select OnWebPagePrerender.
And everything will work

Z
zooks, 2014-06-20
@zooks

It's not about Wayfinder at all. Write anchors through links of the form:#

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question