Skip to content
Johan Janssens edited this page Jul 21, 2022 · 11 revisions

Joomlatools Pages comes out-of-the-box with template helpers. A helper is a simple function that can be used in any template and will generate HTML for you. Most helpers have parameters that allow you to customise them.

Table of Contents

Pagination

The paginator.pagination helper renders pagination. The helper will only return pagination if a collection has been defined in the page.

Example:

<?= helper('paginator.pagination') ?>

If the limit is dynamic (not set in the collection state) a limit box will be rendered too, the limit box can be hidden by setting the additional 'show_limit' config option to false.

Example:

<?= helper('paginator.pagination', ['show_limit' => false]) ?>

See also: Collection > Paginating

Clone this wiki locally