Answer the question
In order to leave comments, you need to log in
Is it possible to get to the +views field in TicketsLatest?
Please tell me, is it possible to display the field inside the tpl.tickets.latest.item template, which is passed to the TicketLatest snippet? The field is displayed normally, but instead of - an empty value. Or is it necessary to use the TicketMeta snippet exclusively?
. . .
. . .
. . .
<p>Опубликовано: , просмотров: </p>
. . .
Answer the question
In order to leave comments, you need to log in
Get the resource through , and then the required fields through Here , see the branch $object = $modx->getObject('Ticket',15)
$object->get('views')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question