PHPackages                             micmania1/silverstripe-nivoslider - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. micmania1/silverstripe-nivoslider

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

micmania1/silverstripe-nivoslider
=================================

Nivo Slider module for Silverstripe

1.0.0(12y ago)1254[3 issues](https://github.com/micmania1/silverstripe-nivoslider/issues)[5 PRs](https://github.com/micmania1/silverstripe-nivoslider/pulls)JavaScript

Since May 11Pushed 10y ago2 watchersCompare

[ Source](https://github.com/micmania1/silverstripe-nivoslider)[ Packagist](https://packagist.org/packages/micmania1/silverstripe-nivoslider)[ RSS](/packages/micmania1-silverstripe-nivoslider/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (3)Used By (0)

Silverstripe Nivo Slider
========================

[](#silverstripe-nivo-slider)

This Silverstripe module brings the Nivo Slider to your project with compelte flexibility.

Features
--------

[](#features)

- Manage multiple sliders and their content through Silverstripe CMS.
- Choose between 4 default themes or add your own.
- Completely customizable with all Nivo jQuery options editable through the CMS

Installation
------------

[](#installation)

This module should be put into the root directory of your website.

**via Composer**

```
composer require micmania1/silverstripe-nivoslider:1.0.*

```

**via Git**

```
git clone https://github.com/micmania1/silverstripe-nivoslider.git
cd silverstripe-nivoslider
git checkout 1.0.0

```

Remember to run /dev/build?flush=1 on your site.

Usage
-----

[](#usage)

To create a slider you can login to Silverstripe CMS and click 'Nivo Slides' in the left navigation pane.

Click the 'Add Nivo Slider' button which will take you through to a page where you can select a Title for your slider and add invididual slides.

On the advanced tab you can choose the theme and set many other options provided by the Nivo Slider. For more info on these options see the [Nivo Slider Documentation](http://dev7studios.com/nivo-slider/#/documentation).

Adding a Slide to a Page
------------------------

[](#adding-a-slide-to-a-page)

By default, sliders are stand-a-lone. To add them to a page the NivoSliderSiteTreeExtension and SiteTreeNivoSliderExtension are provided. These two extensions compliment each other by providing reciprical has\_one links between the two DataObjects.

The following example shows how to add a slider to a HomePage class which extends Page.

**YAML Example:**

```
---
Only:
  classexists: 'NivoSlider'
  classexists: 'HomePage'
---
HomePage:
  extensions:
    - 'NivoSliderSiteTreeExtension'

NivoSlider:
  extensions:
    - 'SiteTreeNivoSliderExtension'
---

```

**PHP Example:**

```
Object::add_extension("HomePage", "NivoSliderSiteTreeExtension");
Object::add_extension("NivoSlider", "SiteTreeNivoSliderExtension");

```

Once you have this connection (and ran a dev/build?flush=1) you can go to your home page and select a slider from the drop down menu.

You can of course create your own extensions to replace these and the link is not limited to pages. You can use any DataObject including widgets.

Template Usage
--------------

[](#template-usage)

For use in your template call the name of your has\_one relationship. For example where a page has a has\_one relationship of "NivoSlider" =&gt; "NivoSlider" you can use:

```
$NivoSlider

```

This wil take care of rendering the whole slider.

Adding your own theme
---------------------

[](#adding-your-own-theme)

If you have your own Nivo Slider theme which you would like to apply you need to tell NivoSlider where to look for it.

To do this you need to extend the class NivoSliderTheme.

**Example:**

```

```

You can then ?flush=1 and select your theme from the themes drop down menu within the advanced tab of each slider.

###  Health Score

24

↓

LowBetter than 35% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~139 days

Total

2

Last Release

4558d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d34e0654ceb255fa1931492477d5933b052fbc0f3d5ea15fcd01a57cfa5c0018?d=identicon)[micmania1](/maintainers/micmania1)

---

Top Contributors

[![micmania1](https://avatars.githubusercontent.com/u/881537?v=4)](https://github.com/micmania1 "micmania1 (6 commits)")

### Embed Badge

![Health badge](/badges/micmania1-silverstripe-nivoslider/health.svg)

```
[![Health](https://phpackages.com/badges/micmania1-silverstripe-nivoslider/health.svg)](https://phpackages.com/packages/micmania1-silverstripe-nivoslider)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
