C
C
chelnokov_a2020-06-01 13:12:47
MODX
chelnokov_a, 2020-06-01 13:12:47

Which field and which table in modx contains resource content?

Hello, not indifferent. I need to change the tags in all product cards. I am looking for a table and a field that contain modx resource cont

5ed4d56b3dc80017353214.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sasha_pe, 2020-06-01
@sasha_pe

modx_site_content table. And the field is called content.
You can call it in a snippet like this:

$res = $modx->getObject('modResource', $id);
$res->get('content');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question