M
M
mih_max2016-05-30 11:45:50
MODX
mih_max, 2016-05-30 11:45:50

How not to display tv if the field is empty?

Good afternoon.
Created extra. field.
How can I make it so that if this field is filled (in my case, this is a photo), the photo is displayed, and if it is empty, it is not displayed?

<a class="image featured"></a>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zooks, 2016-05-30
@zooks

Now everything is correctly written, it should work.
Only the a tag does not need to be nested one inside the other.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question