M
M
Matvey Tomilov2017-05-19 04:51:54
MODX
Matvey Tomilov, 2017-05-19 04:51:54

What is the difference between 552298 and 2?

Explain what is the difference between + and *, and how to correctly display the id of the resource on which the user is located?
Let's say if the page is 20, then the id was also 20.


Specifically, here, I need to display the element's gallery, and it displays all the photos from neighboring resources as well.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zooks, 2017-05-19
@etozhematvekat

One for the chunks called as a template, the other for output on the page itself.
In your case, you need 2, and not what you wrote there.
https ://docs.modx.pro/components/ms2gallery/snippe... You can omit the parents parameter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question