Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
This module allows you to create global content items which will be displayed on the whole website (ie. header, footer, block, etc.). By default, this module uses the "block" and "page" theme pre-process hooks (see ".module" file).
Usage
Here are steps to configure and display global content items:
- Go to "Content" > "Global Content" > "Global Content Settings"
- Go to "Manage fields" and add fields
- Go to "Content" > "Global Content" and click on "Add one" link
- Open the twig files corresponding to the place you want to display your global content items. Insert
{{ global_content_MY_FIELD_NAME }}
where "MY_FIELD_NAME" is your field's machine name without the drupal "field_" prefix.
Supporting organizations:
D8 & D9 Development
D10 Development
Project information
- Module categories: Content Editing Experience
- 6 sites report using this module
- Created by jean-philippe.blary on , updated
- Drupal 10 is here!
Module will support Drupal 10.
- Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
8.x-2.0-rc2
released 24 July 2023
Works with Drupal: ^8 || ^9 || ^10
✓ Recommended by the project’s maintainer.
Install:
Development version: 8.x-2.x-dev updated 2 Aug 2023 at 12:07 UTC