neosrulez/fusionlooppagination

Last activity on 3 March 2021
  • 1
  • 2
composer require neosrulez/fusionlooppagination

Neos.Fusion:Loop pagination

1.0.0

Neos.Fusion:Loop pagination

Version
1.0.0
Type
neos-package
Release Date
20.03.2021 08:20:05
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
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 40 package(s).