A
A
Alexander Ivanov2015-11-25 21:36:11
PHP
Alexander Ivanov, 2015-11-25 21:36:11

How to display TV field from via snippet from getPage?

So I get the field of the current element:
return $modx->resource->getTVValue('price-tovar');
And how to access the field displayed through getPage and getResurses?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2015-11-25
@Sanes

https://rtfm.modx.com/extras/revo/getresources
docs.modx.pro/components/pdotools/snippets/pdoresources

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question