2017 © Pedro Peláez
 

silverstripe-module prevnextsibling

Helper method and template to allow previous and next sibling integration easily

image

weboftalent/prevnextsibling

Helper method and template to allow previous and next sibling integration easily

  • Saturday, February 6, 2016
  • by weboftalent
  • Repository
  • 1 Watchers
  • 1 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Previous and Next Sibling

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)

Maintainers

Introduction

This module provides convenience methods for previous and next siblings of a common parent. It is used for paging through a list of children items., (*5)

Installation

composer require "weboftalent/prev-next-sibling:~1"

Usage

Previous Sibling

In a template call $PreviousSibling, (*6)

<% with $PreviousSibling %><a href="$Link">$Title</a><% end_with %>

If there is no previous sibling the result will be blank and nothing will render., (*7)

NextSibling

In a template call $NextSibling, (*8)

<% with $NextSibling %><a href="$Link">$Title</a><% end_with %>

If there is no next sibling the result will be blank and nothing will render., (*9)

For more documentation about the module see the provided documentation located inside the docs folder., (*10)

Requirements

  • SilverStripe 3.1 or 3.2

The Versions

06/02 2016

dev-master

9999999-dev

Helper method and template to allow previous and next sibling integration easily

  Sources   Download

BSD-3-Clause

The Requires

 

template helper silverstripe siblings

20/01 2016

1.0.0

1.0.0.0

Helper method and template to allow previous and next sibling integration easily

  Sources   Download

BSD-3-Clause

The Requires

 

template helper silverstripe siblings

20/01 2016

dev-continuous_integration

dev-continuous_integration

Helper method and template to allow previous and next sibling integration easily

  Sources   Download

The Requires

 

template helper silverstripe siblings