PHPackages                             pikselin/silverstripe-pagebanners - 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. pikselin/silverstripe-pagebanners

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

pikselin/silverstripe-pagebanners
=================================

Add page or site level alert banners to a Silverstripe site.

5(2y ago)121BSD-3-ClausePHP

Since Jul 28Pushed 3mo ago5 watchersCompare

[ Source](https://github.com/Pikselin/silverstripe-pagebanners)[ Packagist](https://packagist.org/packages/pikselin/silverstripe-pagebanners)[ RSS](/packages/pikselin-silverstripe-pagebanners/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (4)Versions (5)Used By (0)

silverstripe-pagebanners
========================

[](#silverstripe-pagebanners)

Add page or site level alert banners to a Silverstripe site.

Features
--------

[](#features)

- Allow multiple banners to be displayed in sequence (ordered by LastEdited)
- Site wide or page specific banners (both allowed on one page)
- Optional date embargo on banners - set a start and end date or leave open ended
- Add a link to each banner (using gorriecoe Link module)
- Optional dismiss button on banner (uses local storage)

Notes
-----

[](#notes)

Banners are managed from the main admin section.

Template can be overridden, just copy PageBanners.ss to {theme}/templates and edit the mark-up.

Simple CSS for laying out the banners is included.

Adding to your templates
------------------------

[](#adding-to-your-templates)

This module uses an extension on SiteTree and an internal template render call. Just use

```
$PageBanners

```

In your template to add them in.

CSS structure for banners block and each banner
-----------------------------------------------

[](#css-structure-for-banners-block-and-each-banner)

```
.page-banners {
    .page-banner {
        &.page-banner-{type} {
        }
        .page-banner-type {
        }
        .page-banner-content {
        }
        .page-banner-control {
            .page-banner-close {
            }
        }
    }
}

```

Credits
=======

[](#credits)

Javascript to control banner visibility taken from [silverstripe/silverstripe-banner](https://github.com/silverstripe/silverstripe-sitebanner)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance55

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~45 days

Total

2

Last Release

1025d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7859297204a5c5e08f8479f7bfc021997001231fb612d6566932ebeaab7164b8?d=identicon)[pikselindev](/maintainers/pikselindev)

![](https://avatars.githubusercontent.com/u/878247?v=4)[Ashley Etchell](/maintainers/ornatipinnis)[@ornatipinnis](https://github.com/ornatipinnis)

---

Top Contributors

[![ashpik](https://avatars.githubusercontent.com/u/57202142?v=4)](https://github.com/ashpik "ashpik (10 commits)")[![intotheweb101](https://avatars.githubusercontent.com/u/6877909?v=4)](https://github.com/intotheweb101 "intotheweb101 (8 commits)")[![ornatipinnis](https://avatars.githubusercontent.com/u/878247?v=4)](https://github.com/ornatipinnis "ornatipinnis (3 commits)")

---

Tags

silverstripealerts

### Embed Badge

![Health badge](/badges/pikselin-silverstripe-pagebanners/health.svg)

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

###  Alternatives

[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1371.1M85](/packages/silverstripe-userforms)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[silverstripe/sharedraftcontent

Share draft page content with non-CMS users

21424.1k12](/packages/silverstripe-sharedraftcontent)

PHPackages © 2026

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