Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: MCP Sentinel 2.29.0 — Minor update available for module mcp_sentinel (2.29.0). Release: Audit Chain 1.10.9 — Minor update available for module audit_chain (1.10.9). Release: Menu Autopilot 1.4.7 — Minor update available for module menu_autopilot (1.4.7). Release: FileGate 1.11.3 — Minor update available for module file_gate (1.11.3). Release: Download Tracker 1.0.7 — Minor update available for module download_tracker (1.0.7). Release: Directory2Block Slideshow 1.0.8 — Minor update available for module directory2block_slideshow (1.0.8). Release: Mautic Audiences 1.1.5 — Minor update available for module mautic_audiences (1.1.5). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Exclude Frontpage Node Views filter

Security covered

Part of the Views ecosystem · 211 projects

View on drupal.org

This module add a new views filter, that allows you to exclude the frontpage node from views.
New: A Search API processor plugin that allows you to exclude the frontpage
node from Search API indexes

It checks if system.site.page.front is a node and if thats true, this node will be excluded from the views results.

This can be helpful if you have changing front page nodes and do always want to exclude the front page node from certain views. While you can exclude the frontpage node also by using the bultin node id filter from views, you would have to manually update the node id filter if you change the frontpage.
This module is also useful if you do not know what the front page node will be, for example if you install a view from configuration in different sites and each site can possibly have different front page nodes.
If the frontpage is not a node, the filter will be skipped.

Installation:

  • Install module as asual.
  • Add the filter "Not front page" to your view.
  • optional add Search API processor "Exclude front page node" to your index

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Aug 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.4 Stable Aug 24, 2024