2017 © Pedro Peláez
 

silverstripe-module superglue

image

silverstripe/superglue

  • Tuesday, May 10, 2016
  • by assertchris
  • Repository
  • 3 Watchers
  • 9 Stars
  • 241 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

Superglue

Connect interesting pages to your landing page, with minimal effort!, (*1)

Installation

$ composer require silverstripe/superglue

Docs

You can find an overview on the SilverStripe blog!, (*2)

Example Usage

An example usage for Superglue would be if you have a list of featured news & events. By default, you may want to display the latest 4 items. However, if there's a special news aritcle or event you may want to pin this, giving it a higher priority than the standard news articles and then display the rest of the list afterwards. Here's an example of what that looks like with Superglue., (*3)

Select your pinned items in the CMS:, (*4)

A screen recording of the CMS showing the content author clicking a "pin" button in a list of unpinned items, and the item moving to the "pinned" list of items above, (*5)

The pinned items appear first, followed by a default list of non-pinned items., (*6)

A screen shot of the website showing the two selected pinned items appearing first and a default list of items apearing afterwards, (*7)

Tests

Working on the tests. So far they've been rolled into the first site this was used on, and we're in the process of extracting them..., (*8)

Versioning

This library follows Semver. According to Semver, you will be able to upgrade to any minor or patch version of this library without any breaking changes to the public API. Semver also requires that we clearly define the public API for this library., (*9)

All methods, with public visibility, are part of the public API. All other methods are not part of the public API. Where possible, we'll try to keep protected methods backwards-compatible in minor/patch versions, but if you're overriding methods then please test your work before upgrading., (*10)

Reporting Issues

Please create an issue for any bugs you've found, or features you're missing., (*11)

The Versions