Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {'!pdoPage' | snippet : [
- 'element' => 'msProducts',
- 'tpl' => '@FILE chunks/product.tpl',
- 'parents' => $_modx->resource.id,
- 'limit' => $limit,
- 'depth' => 4,
- 'includeTVs' => 'views',
- 'includeContent' => 1,
- 'processTVs' => 1,
- 'tvPrefix' => '',
- 'sortby' => $sortby,
- 'sortdir' => $direction,
- ]}
- <div class="pagination-box">
- <p class="info">Показаны товары с 1 по 12 из {$_modx->getPlaceholder('page.total')} (всего страниц: {$_modx->getPlaceholder('pageCount')})</p>
- <div class="pagination">
- {$_modx->getPlaceholder('page.nav')}
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement