Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Prehome

30 sites Security covered Drupal 9–11
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 :

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
6 months ago
Releases (12 mo)
4 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core 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