drupal/varbase_events_base
Composer 安装命令:
composer require drupal/varbase_events_base
包简介
A recipe to provide an event content type and an events listing for Varbase. Builds on the Events recipe and wires it up the Varbase way.
README 文档
README
An event content type and an events listing for Varbase 11, built on the Events recipe and wired up the way Varbase renders content.
Works on Varbase Starter and on the Educare site template. Like Varbase Blog Base, it targets the base theme (Vartheme BS5); a site template that ships its own theme repoints the Canvas components with config actions, the same way it already repoints the Blog view.
What it gives you
- The Event content type from the Events recipe, with a smart date (When).
- Type and Industry taxonomy fields, so the listing can be filtered. Type comes from an Event Categories vocabulary; Industry reuses the shared Tags vocabulary, exactly as Blog exposes Type and Industry on its own listing.
- A Location field, and the Description and Featured image fields Blog also carries, so an event is built the way a blog post is.
- An events listing: two columns of cards, twelve to a page, a full pager, a result summary, and exposed filters for keyword, Type and Industry.
- A Related events display: the same Industry as the event being read, that event excluded.
- Drupal Canvas templates: a content template for the event page (title, date and location, body, related events) and a card template for the listings, plus a VMI card view display.
Install
composer require drupal/varbase_events_base
drush recipe recipes/varbase_events_base
Or list it in a site template recipe:
recipes:
- varbase_events_base
Overriding it in a site template
The recipe renders through the base theme's components. A site template with its own theme repoints them with config actions — for example, Educare renders the event card with its own dated card:
config:
actions:
views.view.events:
simpleConfigUpdate:
display.default.display_options.style.options.component_id: 'my_theme:views-view-grid'
canvas.content_template.node.event.text_card_medium:
simpleConfigUpdate:
component_tree: { ... }
Maintainers
Sponsored and developed by Vardot.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-07-14