A
A
axblue2016-02-13 23:34:14
MODX
axblue, 2016-02-13 23:34:14

Wayfinder menu how to organize?

Hello. Faced such a problem. There is a site, it has a main menu of six links, when you go to any link, a sidebar appears with several more links (in each section of the main menu there are different links in the sidebar) - I implemented all this. The question is how to leave the original links in the sidebar when moving to the third level, I just get an empty sidebar when moving to the 3rd level.
6fe7e7c86a4643018aba55632f01649c.jpge4af6c60d0794d3d881d79b428a3b84f.jpg
It is necessary that on the second screen there would be a sidebar that is on the first screen.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Antonov, 2016-02-14
@Sadist07

waufinder is good but pdoTools is faster, in 2 I personally would render the left sidebar with additional fields and migx for convenience). Then everything is simple, I would go to the resource and enter links in additional fields. And in the template I would register a filter, if there are no links in the section, then do not display the side bar, if there is, then display it with links))
In general, what would everything turn out, read about
1) pdoTools, or rather pdoMenu
2)migx snippet in it and how to parse (pull out ) data from the link table.
3) Modx filters

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question