X
X
ximik2016-04-08 15:43:18
MODX
ximik, 2016-04-08 15:43:18

How to connect tv boxes to modx revo template?

Welcome all!
There are cross-cutting elements on the site in the header and in the footer, these are phone numbers, emails, slogans, and other textual information that is displayed on all pages.
I would like to connect them through tv fields and edit them if necessary,
created separate tv fields with the names adress1.tv, adress2.tv, etc.
shot.qip.ru/00LdXA-28NLT3gE3
created a separate template for them and
tried to insert the resource into the header.tpl chunk and where 3 is the resource id
but to Unfortunately, it didn’t help
. I didn’t find an answer on the net, because I don’t know how to formulate the question correctly.
Please tell me how to correctly write the code in the chunk and in the template !!!
Maybe you need to install an additional extension?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zooks, 2016-04-08
@zooks

Remove .tv from the name. The call goes through .
https://rtfm.modx.com/revolution/2.x/making-sites-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question