D
D
dzhuryn_volodymyr2015-10-13 11:50:38
PHP
dzhuryn_volodymyr, 2015-10-13 11:50:38

Does modx have a processor for adding TV fields?

Does modx have a processor for adding TV fields?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlad Tokarev, 2015-10-13
@Vadiok

What's wrong with the API ?

$page = $modx->getObject('modResource', 123);
if (!$page->setTVValue('bio', 'This is my new bio...')) {
    $modx->log(xPDO::LOG_LEVEL_ERROR, 'There was a problem saving your TV...');
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question