This project contains a Gantry Atom and is based on Popup System Messages written by Mark Taylor but received a heavy rework and contains additional features as well as fixes. It alters the System Messages Particle default behaviour within the Gantry templating framework so that messages are displayed in a popup instead of showing them in the default container. Furthermore, Popup System Messages provides an easy, user friendly and GUI assisted configuration and integration. In the current revision the following CMSs are supported:
- Joomla
- Wordpress
- Grav
- CMS (Joomla, Wordpress, Grav)
- Gantry Templating Framework and Theme - at least v5.4.24
Choose the correct download for your target platform. The Joomla Plugin System is supported for all Gantry themes globally or locally for the templates Helium and Hydrogen. The latest Atom version is v1.0.3.
Default Atom: English / German
Legacy Atom - Gantry <5.3.2: English / German
Joomla Plugin - All Templates (Global): English / German
Joomla Plugin - Hydrogen: English / German
Joomla Plugin - Helium: English / German
- Download the Plugin of the Popup System Messages Atom for Hydrogen, Helium or Global installation.
- Install it over the Joomla Plugin System.
- Create or modify the
custom.scssfile located under/[GANTRY_THEME]/custom/scssand add the following line@import "popup-system-messages";at the end. Please check the list below to determine where the template folder for your CMS is located.
If you install the plugin globally be aware that the resource location changes to /media/gantry5/engines/nucleus
- Download the Default Package of the Popup System Messages Atom.
- Extract the files.
- Copy the
.html.twigand the.yamlfile to your particle folder/[GANTRY_THEME]/custom/particles. Please check the listing below to determine where the template folder for your CMS is located. - Copy the
.jsfile to the folder/[GANTRY_THEME]/custom/js. Create the folder if it does not exist. - Copy the
.scssfile to the folder/[GANTRY_THEME]/custom/scss. Create the folder if it does not exist. - Create or modify the
custom.scssfile located under/[GANTRY_THEME]/custom/scssand add the following line@import "popup-system-messages";at the end.
Please be aware that the template folder path varies in dependence of the used CMS. Here is a list of the folders for the different platforms:
/wp-content/themes/[GANTRY_THEME]
/templates/[GANTRY_THEME]
/user/data/gantry5/themes/[GANTRY_THEME]
- Go to your Gantry templating backend (e.g. Extensions/Templates).
- Switch to Page Settings and add the new appearing Atom called Popup System Messages either globally to your site (base outline), to a specific template or page by dragging it to the designated section.
- Configure the appearance according to your favor.
- Replaces the default system messages with a popup
- Full rework of the MrT Freebie Atom
- Especially rework and cleanup of the JS code base
- Encapsulated JS code within a component
- Consider that system messages might already be there on page load
- Event handling encapsulated and improved
- JS constants (selectors and classes) located at one place
- Minor bug fixes
- Removed inline JS
- JS priority and placement (head or footer)
- JS configuration
- Remote, Local and Default
- JS execution
- Asynchronous
- Deferred
Insight of the Popup System Messages - Gantry Atom configuration:
Backend (1) - General / JS (a)
- Add custom designs to the Atom.
- None
Thanks to the Gantry team for providing a modern templating framework.
Thanks to N8Solutions for testing and providing valuable input.
Thanks to Mark Taylor a.k.a MrT for providing the prototype of the Atom.
by thex | gantryprojects
Copyright (c) 2019, free to use in personal and commercial software as per the license.
