Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Prehome

Security covered Maintenance fixes only 37 sites

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 :

Drupal 9–11

Ask your assistant about Prehome

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Dec 2024
Latest release
7 months ago
Releases (12 mo)
4 ▲ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
2.0.7 Stable 9–11 Feb 25, 2026
2.0.6 Stable 9–11 Nov 24, 2025
2.0.x-dev Dev 9–11 Nov 24, 2025
2.0.5 Stable 9–11 Nov 3, 2025
2.0.4 Stable 9–11 Dec 2, 2024