Answer the question
In order to leave comments, you need to log in
How to set up Ditto pagination when writing an external module?
I write this nonsense:
//Выведем элементы
$params = Array(
'showPublishedOnly' => 0,
'parents' => $result['CURRENT_FOLDER_ID'],
'tpl' => '@CODE:' . $tpl,
'paginate' => 1
);
echo $res = $modx->runSnippet('ditto', $params);
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