定制 sdubois/amezmo-drupal-integrations 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

sdubois/amezmo-drupal-integrations

最新稳定版本:10.6.1

Composer 安装命令:

composer create-project sdubois/amezmo-drupal-integrations

包简介

Add this project to any Drupal distribution based on drupal/core-composer-scaffold to enable it for use on Amezmo.

README 文档

README

amezmo-drupal-integrations brings in everything needed to use an existing Drupal site on Amezmo

Add this project to any Drupal distribution based on drupal/core-composer-scaffold to enable it for use on Amezmo.

This project provides a custom settings file and a few other small changes necessary to run Drupal on Amezmo.

Enabling this project

This project must be enabled in the top-level composer.json file, or it will be ignored and will not perform any of its functions.

{
    ...
    "require": {
        "sdubois/amezmo-drupal-integrations": "dev-main"
    },
    ...
    "extra": {
        "drupal-scaffold": {
            "allowed-packages": [
                "sdubois/amezmo-drupal-integrations"
            ]
        }
    },
    "autoload": {
        "files": [
            "load.environment.php"
        ]
    }
}

If installing this on a pre-existing Drupal site, you will likely need to update your settings.php file to load the settings.amezmo.php file with the following snippet:

if (file_exists($app_root . '/' . $site_path . '/settings.amezmo.php')) {
  include $app_root . '/' . $site_path . '/settings.amezmo.php';
}

File storage

Amezmo stores static files (images, documents, etc) in the /webroot/storage directory. In order to use this directory with Drupal, this package creates a symlink to this directory from the Drupal public files directory on each deployment.

You can use SCP or SFTP to copy files to this directory.

Credit

This repository is based on the pantheon-systems/drupal-integrations project. Thanks to everyone involved!

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-12-24