neosrulez/fusionlooppagination

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
There is no license information available for the latest version (1.0.0) of this package.

Neos.Fusion:Loop pagination

1.0.0 2021-03-20 08:20 UTC

This package is not auto-updated.

Last update: 2021-09-05 09:13:28 UTC


README

Easily configurable component that adds a pagination to <Neos.Fusion:Loop />

Usage

pages = ${q(site).find('[instanceof Neos.Neos:Document]').sort('_index', 'DESC')}

<NeosRulez.FusionLoopPagination:Component.Paginated collection={props.pages} itemsPerPage="4">
  <ul>
    <Neos.Fusion:Loop items={paginatedItems} itemName="item" >
      <li>
        <Neos.Neos:NodeLink node={item}>
          {item.properties.title}
        </Neos.Neos:NodeLink>
      </li>
    </Neos.Fusion:Loop>
  </ul>
</NeosRulez.FusionLoopPagination:Component.Paginated>

Installation

The NeosRulez.Bootstrap.FusionLoopPagination package is listed on packagist (https://packagist.org/packages/neosrulez/fusionlooppagination) - therefore you don't have to include the package in your "repositories" entry any more.

Just run:

composer require neosrulez/fusionlooppagination

Author