comingsoon_mode
Description:
Coming Soon Mode module provides an easy setup for a "coming soon" landing page, It activates a temporary site mode, limiting access to anonymous users while presenting customizable content, complete with a dynamic countdown timer.
Key Features:
- Simple activation and deactivation of "coming soon" mode.
- Automatic redirection to the "coming soon" page for anonymous users, restricting access to other pages.
- Dynamic JS countdown timer for site launch.
- Customizable content.
- Configurable display of content on the page.
- Intuitive configuration form for easy setup.
- Supports RTL (Right-to-Left) layout.
- restricts access based on chosen roles
- Translation support for a multilingual
- Responsive design for various screen sizes.
Theme Override:
Developers have the flexibility to override the default theme by implementing their own custom theme for the Coming Soon Page. To override the theme, create a new template file named comingsoon.html.twig in your theme's templates folder. Below is a basic example:
{#
/**
* @file
* Theme override for the Coming Soon Page.
*
* Available variables:
* - data.title : The title of the coming soon page.
* - data.message : The message of the coming soon page.
* - data.countDownDate : Date with format: "Y/m/d".
* - data.image : Image URL.
* - data.logo : Logo of the website.
* - data.backgroundColor : Background color of the coming soon page.
* - data.backgroundImageCkeck : Background image checkbox Boolean.
* - data.displayLogo : Display logo Boolean.
* - data.displayCounter : Display counter Boolean.
* - data.displaySocialMediaLinks : Display social media links Boolean.
* - data.twitter : Twitter link.
* - data.facebook : Facebook link.
* - data.instagram : Instagram link.
* - data.linkedin : LinkedIn link.
* - data.email : Email address.
* - data.phone : Phone number.
*/
#}
{# Your custom theme implementation here #}
Configuration:
No complex setup is required. Administrators can configure the module via the provided form, accessible at /admin/config/system/comingsoon_mode.
Post-Installation:
After installation, administrators can access the configuration form to tailor the coming soon page to their preferences.
This module is sponsored and developed by SharedTech