Answer the question
In order to leave comments, you need to log in
How to get values from pdoFetch for editing before displaying them in the template?
How to get certain values from a database table using pdoFetch and edit them before sending them to the chunk template?
Here is the snippet
$path = MODX_CORE_PATH . 'components/pdotools/model/pdotools/';
$pdoFetch = $modx->getService('pdofetch','pdoFetch', $path, $scriptProperties);
$pdoFetch->setConfig($scriptProperties);
return $pdoFetch->run();
<input type="hidden" value="" name="test">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question