O
O
OlegNester2020-07-03 08:23:47
MODX
OlegNester, 2020-07-03 08:23:47

How to display tv field name (not value) using Fenom?

Good day!
The question arose about the output in the fenom syntax Field NAME:
Here is an example of a field created in the admin panel, in tv fields, called tv_name, with values:
Поле1==значение_поля1||Поле2==значение_поля2
The name in the standard template engine can be obtained through the tvLabel modifier
Example with the standard template engine:

This code displays "Field1" or " Field2", depending on the choice in the resource settings
Using fenom, this modifier does not work, I looked in the documentation, there are no mentions, maybe I searched badly))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Tarasov, 2020-07-03
@an-tar

Indeed, there is no such modifier in Phenome.
But you can always create your own, here's the manual

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question