S
S
Sergey2017-02-24 23:24:34
MODX
Sergey, 2017-02-24 23:24:34

MODX gurus need help. How to do the impossible?

Nobody in the modx community helped.
There are two sections: events and gallery .
Some records are added in events and a gallery is created through ms2Gallery.
How to make a list of entries in the Gallery section with a transition to the full gallery view, and with the ability to go to the Event?
From all that I managed to do, it was to make two different chunks and display the Event in one, and the Gallery in the second, but when you click on the gallery, we get into the event, and the gallery does not open (in principle, which is logical, because there is no gallery page).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2017-02-27
@RGBPlus

Understand with getResourceField
You create in a template for example:

in your event you specify the gallery page ID, and in the gallery you specify the event page ID.
I'll try to explain in a simpler way (this is how it is implemented for me):
There is a gallery (template) - I upload photos, and at the very bottom there is a field, I specify the ID page with the product in it. When viewing this gallery, prices, descriptions, etc. are pulled from the product page. what I need!
If I understood your problem correctly!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question