neosrulez/fusionlooppagination

There is no license information available for the latest version (1.0.0) of this package.

Neos.Fusion:Loop pagination

Fund package maintenance!
patriceckhart

Installs: 1 334

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 1

Type:neos-package

1.0.0 2021-03-20 08:20 UTC

This package is not auto-updated.

Last update: 2024-04-14 22:11:49 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