MODx. How to pass a parameter to the snippet?

Good afternoon. Use pdoMenu. When passing the parameter in your snippet the result is not transmitted, and is transmitted to the structure [[+id]]. In the documentation I read that you need to use {{+id}}. But it did not help. How to be?
5c9cb2b4c9a0e386075519.png
March 19th 20 at 09:01
1 answer
March 19th 20 at 09:03
Solution
I understand that You have now, so:
[[pdoMenu? ... &parameter=`@INLINE...[[mysnippet?&input=`[[*id]]`&idchildren=`[[+id]]`]]...` ...]]

And You do this:
[[pdoMenu? ... &parameter=a`Kazanka` ...]]
And create a chunk of imechanica:
...[[mysnippet?&input=`[[*id]]`&idchildren=`[[+id]]`]]...
Yes! So it turned out! Thank you very much for the solution! - clay.Seng commented on March 19th 20 at 09:06

Find more questions by tags MODX