neosrulez/fusionlooppagination

Last activity 29 Nov 2022 2 876
composer require neosrulez/fusionlooppagination

Neos.Fusion:Loop pagination

1.0.0

Version
1.0.0
Type
neos-package
Release Date
Mar 20, 2021 08:20
Source
git
Distribution
zip
Requires
d2dfe30886ac741fafaeaca7e61d506af070eea5

Pagination for <Neos.Fusion:Loop />

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

The content of the readme is provided by Github
The same vendor provides 71 package(s).