M
M
Matvey Tomilov2017-05-10 15:00:03
MODX
Matvey Tomilov, 2017-05-10 15:00:03

How to output TV correctly?

Good afternoon! I immediately apologize if there is a lot of unnecessary text, but I can no longer understand what the problem is. Therefore, I brought everything that in my opinion can influence this.
There is a page with a list displayed via getResourses.

<div class="tab-content m-tab-content">

</div>

There is an item in this list where pdoResourses is inserted.
why is there a get, but here is a pdo?
I don’t know, apparently the previous programmer wanted it that way

tpl for pdoResources `tabPaneTEST`
<div class="col-md-6">
2 выдает id основной страницы
544572 выдает id ресурса
 заголовок ресурса
 время страницы
 TV страницы
</div>

Actually the question itself is how to make time and TV be a resource, and not a page?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Matvey Tomilov, 2017-05-10
@etozhematvekat

The question with tv disappeared, it was necessary to specify , and the time to write without :strtotime

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question