2017 © Pedro Peláez
 

silverstripe-module child-pagination

Pagination Helper for Children Pages in SilverStripe

image

weboftalent/child-pagination

Pagination Helper for Children Pages in SilverStripe

  • Wednesday, January 20, 2016
  • by weboftalent
  • Repository
  • 1 Watchers
  • 4 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Paged Child Helper

Build Status Scrutinizer Code Quality Code Coverage Build Status codecov.io, (*1)

Latest Stable Version Latest Unstable Version Total Downloads License Monthly Downloads Daily Downloads, (*2)

Dependency Status Reference Status, (*3)

codecov.io, (*4)

Introduction

This modules provides shorthand methods to incorporate paging of children in a folder, (*5)

Usage

Listing Items on a Page

In your template do the following:, (*6)

<% control PagedChildren(*ClassName*, *NumberToShowPerPage*) %>

For example, the following will show 8 NewsItem objects per rendered page., (*7)

<% control PagedChildren(NewsItem,8) %>

Render the list of items as you see fit for your website using normal templating code., (*8)

Simply add this line to include pagination links (1,2,3... etc) in your template, (*9)

<% include ChildPagination %>

The Versions

20/01 2016

dev-master

9999999-dev

Pagination Helper for Children Pages in SilverStripe

  Sources   Download

BSD-3-Clause

The Requires

 

pagination silverstripe weboftalent

20/01 2016

2.0.0

2.0.0.0

Pagination Helper for Children Pages in SilverStripe

  Sources   Download

BSD-3-Clause

The Requires

 

pagination silverstripe weboftalent

20/01 2016

dev-continuous_integration

dev-continuous_integration

Pagination helper for SilverStripe

  Sources   Download

The Requires

 

pagination silverstripe weboftalent

20/01 2016

3.1.x-dev

3.1.9999999.9999999-dev

Pagination helper for SilverStripe

  Sources   Download

The Requires

 

pagination silverstripe weboftalent