agencecaza/silverstripe-popup

Enable a popup modal with custom settings

Installs: 47

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

dev-master 2019-07-11 12:30 UTC

This package is not auto-updated.

Last update: 2024-04-25 10:00:12 UTC


README

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