V
V
Vladislav Bondarenko2017-03-29 16:38:41
MODX
Vladislav Bondarenko, 2017-03-29 16:38:41

How to display menu in Modx Revo with pdoMenu using Babel for multilingual?

All the best! I ran into a problem, I'm making a multilingual site, and when I display the menu through pdoMenu, links for the second language are generated without the /en/ prefix. Although it points to the main one correctly. Maybe someone came across and tell me what the error is. I will be very grateful!
cometa-cde.wbdev.co.ua

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan, 2017-03-29
@bvlad5

Hello, you apparently do not have a Base URL registered. Read more here - https://cat-art.ru/articles/multiyazyichnost-modx-revo

Z
zooks, 2017-03-29
@zooks

After setting up Babel, I didn't even have to change the call to pdoMenu. Everything worked right away.
Perhaps the settings of the Babel plugin itself are incorrect.
www.r-team.com.ua/blog/modx/kak_realizovat_multiya...
Be sure to check that the Base URL is specified through the system variable:
<base href="http://askmeplz.com/" />

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question