D
D
Dmitry Grabko2017-05-17 14:49:30
MODX
Dmitry Grabko, 2017-05-17 14:49:30

How to pass TV parameter for modal window?

A block with popular products is displayed on the site through Ditto.
11fd11e11c0241aa88bfc0a879b6ce03.png
Each product is a separate resource. When you click on the "Order" button, a modal window opens with a feedback form.
a78b8921d940404cb83d7da4da873d7e.png
How to pass the value of the TV parameter [*pagetitle*] to the form?
When substituting on the page itself into the form, everything is clear, the TV of the active page is used there, but I don’t understand how to transfer the value of the resource to the modal window in another page.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Froggyweb, 2017-05-17
@Froggyweb

Add a data attribute with an id to the product list output. Next - js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question