Global Content
Security covered
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.
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
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 8.x-2.0-rc3 | Pre-release | Nov 20, 2024 |