S
S
Sergey2019-02-25 17:35:47
MODX
Sergey, 2019-02-25 17:35:47

How to integrate tv field values ​​into other modx templates?

Good afternoon. New to Modx Revo. There was a question of the following plan.
There are several different templates with common elements, such as the footer, which the content manager will need to be able to edit in the future. Accordingly, he must change the data in the footer through the tv fields. How to make it so that it can change it only in one template, but it changes automatically in all, because changing the phone number, for example, in all 3-4 templates, is not cool. I have no idea how to do it. Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Tarasov, 2019-02-25
@ChiDa

Look at these snippets: getField and fastField for example, there are others that are similar. The bottom line is that they will just allow you to use the TV of one page (say, you set everything on the main page), in others.
and you can also try the ClientConfig add-on , it will be even more convenient.

F
FOcuswOwX, 2019-03-05
@FOcuswOwX

Install pdoTools , it's already there + many other useful things

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question