Skip to Content

Nelios Popup

Nelios Popup allows you to dynamically create, configure, and manage popups directly from the Strapi dashboard, with support for site-specific routing and frontend content targeting.


Adding a New Site

To register a new site, locate the following file in the cms5-backend repository:

config/plugins.ts

Inside the nelios-popup plugin configuration, we are loading the shared frontend map object located at @nelioscom/site-structure, if the configuration is missing you need to create a new object and set up the paths, see here


Example Configuration

import {frontendMap} from "@nelioscom/site-structure"; export default ({ // …other plugins 'nelios-popup': { enabled: true, // resolve: './src/plugins/nelios-popup', config: { sites: ['andronis', 'pantheonWaterpark', 'uzenie'], frontendMap: frontendMap } }, // …other plugins });

Example Resolution

For a rule:

{locale}/{hotel}/accommodation/{?category}/{slug}

A possible resolved URL:

/en/andronis-minois/accommodation/suites/sea-view-suite


Usage

Setting up a new site

After adding the rules in the plugin.ts config, you need to go in the plugin’s dashboard, click settings and add the content types that the popup can be activated.

Last updated on