Skip to content
Enable a popup modal with custom settings
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_config
client
lang
src
templates/Includes
LICENSE
README.md
_config.php
composer.json

README.md

agencecaza/silverstripe-popup

Enable a popup modal with custom settings directly from the LeftAndMain menu.

Installation

composer require agencecaza/silverstripe-popup

Works only with Silverstripe 4.4.x .

Usage

Add <% include Popup %> in the body of your site.

Customisation

Put the template in your app project app/templates/Includes/Popup.ss.

Enable locales config with Fluent extension

Add the following code in your app.yml to enable.

AgenceCaza\Popup\PopupConfig:
  extensions:
    - TractorCow\Fluent\Extension\FluentVersionedExtension
  translate:
    - Content
    - ButtonText

ToDos

  • Release a stable module
You can’t perform that action at this time.