Download the PHP package peterbrain/magento2-modal-overlay without Composer
On this page you can find all versions of the php package peterbrain/magento2-modal-overlay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download peterbrain/magento2-modal-overlay
More information about peterbrain/magento2-modal-overlay
Files in peterbrain/magento2-modal-overlay
Download peterbrain/magento2-modal-overlay
More information about peterbrain/magento2-modal-overlay
Files in peterbrain/magento2-modal-overlay
Vendor peterbrain
Package magento2-modal-overlay
Short Description Display custom content from a static block in a modal
License OSL-3.0
Package magento2-modal-overlay
Short Description Display custom content from a static block in a modal
License OSL-3.0
Please rate this library. Is it a good library?
Informations about the package magento2-modal-overlay
Magento 2 Module - ModalOverlay
Package name: peterbrain/magento2-modal-overlay
- Magento 2 Module - ModalOverlay
- Main Functionalities
- Installation
- Method 1: Composer (recommended)
- Method 2: Zip file (not recommended)
- Enable \& deploy
- Usage
- In-depth information
Main Functionalities
- Display custom content from a static block in a modal.
- Show modal after a configurable amount of visited pages.
Installation
Method 1: Composer (recommended)
Method 2: Zip file (not recommended)
- Unzip the zip file in
app/code/PeterBrain
This extension requires PeterBrain Core. Ensure that you have it installed prior to installing this module. Use Composer to install it automatically with this module.
Enable & deploy
Usage
- Enable module output in
Stores > Configuration > PeterBrain Extensions > Modal Overlay > General Configuration
- In Magento 2 admin, navigate to
Content > Blocks
and create a new static block with the identifiermodal-overlay_popup
. - If the module is enabled, the static block exists and is enabled, the modal pops up:
- when a user visits at least three pages
- once per user (stored in local storage - cookieless!)
In-depth information
The visited pages (count) and status of modal are stored in local storage as follows:
mage-cache-storage
: {"modal-overlay":{"displayed":false,"visited_pages":2}}
All versions of magento2-modal-overlay with dependencies
PHP Build Version
Package Version
Requires
peterbrain/magento2-peterbrain-core Version
^0.2
The package peterbrain/magento2-modal-overlay contains the following files
Loading the files please wait ....