A
A
Adel Khalitov2018-03-27 19:17:22
MODX
Adel Khalitov, 2018-03-27 19:17:22

What is the problem with migx and TV fields?

Created a content manager, gave him certain rights.
From the administrator account, the same problem.
Created news on the main page. xn----2tbebit.xn--p1ai
The output in the preview is normal, but the default image value is displayed in the resource itself xn----2tbebit.xn--p1ai/o-czentre/vse-novosti/wefwefwef

<div class="whaht" style="width: 120px; height:80px; background: url('') 50% 50% no-repeat; background-size: cover;"></div>

Preview output
And this is the output of the resource itself.
<img src="" alt="Вопрос" class="img-fluid">

Here's how the field request goes in the first case.

Like in resource

migx image field is displayed
{"field":"image","caption":"Изображение","inputTV":"fieldImage"},

That is, a TV fieldImage is created where the file system is selected by the content manager.
With what it can be connected?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question