PHPackages                             iliain/silverstripe-popup - 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. [Admin Panels](/categories/admin)
4. /
5. iliain/silverstripe-popup

ActiveSilverstripe-vendormodule[Admin Panels](/categories/admin)

iliain/silverstripe-popup
=========================

Adds a field to quickly generate a CMS popup

1.0.0(2y ago)0121BSD-3-ClausePHPPHP ^7 || ^8

Since Aug 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Iliain/silverstripe-popup)[ Packagist](https://packagist.org/packages/iliain/silverstripe-popup)[ Docs](http://github.com/Iliain/silverstripe-popup)[ RSS](/packages/iliain-silverstripe-popup/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Silverstripe Popup
==================

[](#silverstripe-popup)

[![Latest Stable Version](https://camo.githubusercontent.com/b1249fb7a51bbe64c65863303fbb252b655f512a1406a7d623747b8e77c1314c/687474703a2f2f706f7365722e707567782e6f72672f696c6961696e2f73696c7665727374726970652d706f7075702f76)](https://packagist.org/packages/iliain/silverstripe-popup)[![Total Downloads](https://camo.githubusercontent.com/b0616646f30b4e808191e5dd79cb639f58bbecfe38c6fb9ced048efb389950a9/687474703a2f2f706f7365722e707567782e6f72672f696c6961696e2f73696c7665727374726970652d706f7075702f646f776e6c6f616473)](https://packagist.org/packages/iliain/silverstripe-popup)[![Latest Unstable Version](https://camo.githubusercontent.com/e41f73b6619430b48bc38d8a17a8dacdc0ac8b9d7226dbd358d8b650cb24af32/687474703a2f2f706f7365722e707567782e6f72672f696c6961696e2f73696c7665727374726970652d706f7075702f762f756e737461626c65)](https://packagist.org/packages/iliain/silverstripe-popup)[![License](https://camo.githubusercontent.com/179cea521247d3ac51fae6fe98a1d2241c7bbbaea999b2f1025ac3e9f26dc556/687474703a2f2f706f7365722e707567782e6f72672f696c6961696e2f73696c7665727374726970652d706f7075702f6c6963656e7365)](https://packagist.org/packages/iliain/silverstripe-popup)[![PHP Version Require](https://camo.githubusercontent.com/2336c3a7f20d395de60cd7360d836839ae744477e014ce7f9baec7e92a753241/687474703a2f2f706f7365722e707567782e6f72672f696c6961696e2f73696c7665727374726970652d706f7075702f726571756972652f706870)](https://packagist.org/packages/iliain/silverstripe-popup)

Adds a popup field to the CMS, to quickly build a popup form.

Thanks to sheadawson for his original Linkable module, I was able to mimic his use of entwine to set this up.

Installation (with composer)
----------------------------

[](#installation-with-composer)

```
composer require iliain/silverstripe-popup

```

Config
------

[](#config)

TODO

Usage
-----

[](#usage)

You can implement a PopupField like so:

```
// necessary config
$customLink = '/PopupForms/form';
$customBodyJS = setFormURL($customLink)
    ->setFormCustomCode($customBodyJS);
```

You will need to provide your own URL to load the form HTML from, and JS to set what the popup will do/how it will submit. This will be inserted into the existing popup form code for you. Without it, the popup will open but fail to load any content/submit.

An example of the custom JS:

```
// On Button Click
this.getDialog().on('click', 'button', function () {
    $(this).addClass('loading ui-state-disabled');
});

// On Submit
this.getDialog().on('submit', 'form', function () {
    const options = {};
    options.success = function (response) {
        const button = self.getDialog().find('button');
        $(button).removeClass('loading ui-state-disabled');
    };

    $(this).ajaxSubmit(options);

    return false;
});
```

See the [docs](/docs/example.md) for a full example

TODO
----

[](#todo)

- Add more customisation functions?
- Test multiple popups active on the same page

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1061d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95555999d61957aa18a23d42afe8bcf7aad3a5e6d9dcc8c7e41ba183f405e49e?d=identicon)[iliain](/maintainers/iliain)

---

Top Contributors

[![Iliain](https://avatars.githubusercontent.com/u/2579262?v=4)](https://github.com/Iliain "Iliain (11 commits)")

---

Tags

silverstripecmspopupmodular

### Embed Badge

![Health badge](/badges/iliain-silverstripe-popup/health.svg)

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

###  Alternatives

[silverstripe/cms

The SilverStripe Content Management System

5253.6M1.4k](/packages/silverstripe-cms)[silverstripe/admin

SilverStripe admin interface

262.8M385](/packages/silverstripe-admin)[stevie-mayhew/hasoneedit

Allows editing the fields of a has\_one object directly in the CMS

21276.0k11](/packages/stevie-mayhew-hasoneedit)[praxisnetau/silverstripe-moderno-admin

A SilverStripe module to give the CMS a more modern, flat appearance.

244.5k](/packages/praxisnetau-silverstripe-moderno-admin)

PHPackages © 2026

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