drupal/pulse 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

drupal/pulse

Composer 安装命令:

composer require drupal/pulse

包简介

Designed for a modern health and wellness platform. Features sections for health topics, research studies, expert insights, articles, reviews, and user interaction components like FAQs, trending content, and expert consultation forms.

README 文档

README

Follow the steps below to install the Pulse Recipe in your Drupal CMS project.

1. Extract the Recipe

Download the recipe ZIP file and extract it inside the recipes directory of your Drupal CMS project.

Example directory structure after extraction:

drupal-project/
 ├── recipes/
 │   └── pulse/
 │       ├── recipe.yml
 │       ├── composer.json
 │       └── themes/
 │           └── space_ds/

2. Configure Composer Path Repositories

From the root of your Drupal project, run the following commands:

composer config repositories.pulse '{"type":"path","url":"recipes/pulse","options":{"symlink":false}}'

composer config repositories.space-ds '{"type":"path","url":"recipes/pulse/themes/space_ds","options":{"symlink":true}}'

These commands tell Composer to install the recipe and theme from the local path instead of downloading them from Drupal.org.

3. Install the Recipe Packages

Run the following Composer commands:

composer require custom/pulse:1.0.0
composer require custom/space-ds:1.0@RC

This installs the Pulse recipe and the Space DS theme from the local recipe directory.

4. Rebuild Dependencies

Before installing Drupal, remove the existing Composer lock file and reinstall dependencies.

rm composer.lock
composer install

This ensures all dependencies from the recipe's composer.json are correctly installed.

5. Install Drupal Using the Recipe

Run the following command to install Drupal using the Pulse recipe:

ddev drush si recipes/pulse

This will install Drupal and automatically apply the configuration, modules, and components included in the recipe.

Notes

  • The space_ds theme will be installed via a Composer path repository from the recipe directory.
  • If Drupal is already installed, you must reinstall the site to apply the recipe.

Troubleshooting

If Composer installs packages from Drupal.org instead of the recipe folder, verify that:

  • The repositories entries exist in the root composer.json.
  • The recipe path recipes/pulse exists.
  • The theme path recipes/pulse/themes/space_ds exists.
  • Run composer clear-cache and retry if necessary.

统计信息

  • 总下载量: 4.43k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-03-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固