Categories
How to write user id in tv modx?
Hello! How to write user id in tv or placeholder? Here I made a snippet correctly, I don’t even know.
$id = $modx->user->get('id'); $res->setTVValue('idUser', $id); $res->save();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question