Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Prehome

33 sites Security covered
View on drupal.org

This module adds a customizable splash screen entity to your Drupal site. You can configure the content and appearance of these splash screens using fields and display settings, and control their visibility on specific pages.

This module displays a splash-screen (prehome) on the desired pages.
It adds a new entity 'prehome' that you can customize as a standard entity (fields, form & display) to fit your requirements.
It also comes with related permissions.

Usage

Install the Prehome module as you would normally install a contributed Drupal module (see https://www.drupal.org/node/1897420 for more information).

  1. Add prehome_display_count to the allowed cookies, in your GDPR module (if any).
  2. Set prehome fields, form & display settings to fit your requirements in Structure > Prehome (admin/structure/prehome/settings).
    Out of the box it contains a single WYSIWYG field, but you can easily add some more to fit your requirements (image, plain text, link, etc.).
  3. Add at least one prehome in Content > Prehome (admin/structure/prehome).
  4. Configure prehome display settings in Configuration > Prehome (admin/config/prehome/settings).

Templating

You can use usual templating process to alter render of the prehome, by overriding the default template with :

* prehome--[entity_id]--[view_mode].html.twig
* prehome--[view_mode].html.twig
x prehome.html.twig

And by implementing hook_preprocess_prehome() if needed.

Drupal 10

As 1.x version is not compliant with D10 (only D8/D9), use 2.x version instead (D9/D10).
Note that 1.x won't be maintained anymore.

Suggestions

Feel free to suggest improvements !

Credits

This project is sponsored by :

Activity

Total releases
4
First release
Nov 2025
Latest release
4 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
2.0.7 Stable Feb 25, 2026
2.0.6 Stable Nov 24, 2025
2.0.x-dev Dev Nov 24, 2025
2.0.5 Stable Nov 3, 2025