V
V
Vladislav Shkaev2016-10-29 16:24:08
MODX
Vladislav Shkaev, 2016-10-29 16:24:08

How to display pagination via php in MODX?

Site on modx, does not use a parser at all.
output resources and pagination: (just an example, no need to write as you know there)



The question itself is how to display pagination in php
$ouput = $modx->runSnippet('pdoPage', array(
    'parents' => 0,
));

The snippet was used, and the plisholder itself how to call it via php?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
current, 2016-11-01
@current

In a chunk
{$_modx->getPlaceholder('page.nav')}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question